[PATCH] bsp/generic_or1k: Fix include guard conflict at bsp.h

Joel Sherrill joel at rtems.org
Mon Mar 7 17:38:16 UTC 2016


Feel free to push it. Looks OK.

On Mon, Mar 7, 2016 at 11:20 AM, Hesham Almatary <heshamelmatary at gmail.com>
wrote:

> ---
>  c/src/lib/libbsp/or1k/generic_or1k/include/bsp.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/c/src/lib/libbsp/or1k/generic_or1k/include/bsp.h
> b/c/src/lib/libbsp/or1k/generic_or1k/include/bsp.h
> index 72bb107..8dae648 100644
> --- a/c/src/lib/libbsp/or1k/generic_or1k/include/bsp.h
> +++ b/c/src/lib/libbsp/or1k/generic_or1k/include/bsp.h
> @@ -7,15 +7,15 @@
>   */
>
>  /*
> - * COPYRIGHT (c) 2014-2015 Hesham ALMatary <heshamelmatary at gmail.com>
> + * COPYRIGHT (c) 2014-2016 Hesham Almatary <heshamelmatary at gmail.com>
>   *
>   * The license and distribution terms for this file may be
>   * found in the file LICENSE in this distribution or at
>   *  http://www.rtems.org/license/LICENSE
>   */
>
> -#ifndef LIBBSP_GENERIC_OR1K_H
> -#define LIBBSP_GENERIC_OR1K_H
> +#ifndef LIBBSP_OR1K_GENERIC_OR1K_BSP_H
> +#define LIBBSP_OR1K_GENERIC_OR1K_BSP_H
>
>  #include <bspopts.h>
>  #include <rtems.h>
> @@ -35,7 +35,7 @@ extern "C" {
>  }
>  #endif /* __cplusplus */
>
> -#endif /* LIBBSP_GENERIC_OR1K_H */
> +#endif /* LIBBSP_OR1K_GENERIC_OR1K_BSP_H */
>
>  /**
>   * @defgroup generic_or1k support
> --
> 1.9.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160307/1b1501d3/attachment-0002.html>


More information about the devel mailing list