ARM bsp warnings ( shared/abort.c vs. shared/simple_abort.c )

Gedare Bloom gedare at rtems.org
Sat Nov 1 17:38:00 UTC 2014


On Sat, Nov 1, 2014 at 1:12 PM, Alan Cudmore <alan.cudmore at gmail.com> wrote:
> There are two warnings in the raspberry pi BSP due to the lack of prototypes
> in simple_abort.c
> the rtl22xx BSP has the same warnings because it also uses simple_abort.c.
>
> Many of the other ARM BSPs use abort.c, which has prototypes for the two
> functions.
>
> The two functions in simple_abort.c and abort.c are nearly the same.
>
> Does anyone know why there is a simple_abort.c ?
>
> The potential fixes include:
> 1. removing simple_abort.c and have the Raspberry Pi and rtl22xx BSPs use
> abort.c or
> 2. simply putting the prototypes in simple_abort.c to take care of the
> warnings.
>
I prefer #1. I also would like to see the prototypes in abort.c go away.

> Alan
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list