[PATCH 1/2] pc386/.../bsp.h: Change include guard

Gedare Bloom gedare at gwu.edu
Thu Jul 16 15:12:47 UTC 2015


Up to you. If other BSPs might get libbsd support in 4.11 release, it
makes sense to do it now. Either way, you should open a ticket and
close it with the commit.

On Thu, Jul 16, 2015 at 11:01 AM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> Sure.
>
> Should I do it before we branch?
>
> --joel
>
> On 7/16/2015 9:57 AM, Gedare Bloom wrote:
>>
>> Would you care to sweep the other bsp.h too?
>>
>> On Thu, Jul 16, 2015 at 10:47 AM, Joel Sherrill
>> <joel.sherrill at oarcorp.com> wrote:
>>>
>>> This is needed to follow the convention expected in nexus-devices.h
>>> in the rtems-libbsd tree.
>>> ---
>>>   c/src/lib/libbsp/i386/pc386/include/bsp.h |    4 ++--
>>>   1 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h
>>> b/c/src/lib/libbsp/i386/pc386/include/bsp.h
>>> index f537eb6..5a82ac2 100644
>>> --- a/c/src/lib/libbsp/i386/pc386/include/bsp.h
>>> +++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h
>>> @@ -44,8 +44,8 @@
>>>   |
>>> **************************************************************************
>>>
>>> +--------------------------------------------------------------------------*/
>>>
>>> -#ifndef _BSP_H
>>> -#define _BSP_H
>>> +#ifndef LIBBSP_I386_PC386_BSP_H
>>> +#define LIBBSP_I386_PC386_BSP_H
>>>
>>>   #ifndef ASM
>>>
>>> --
>>> 1.7.1
>>>
>>> _______________________________________________
>>> devel mailing list
>>> devel at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/devel
>
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list