[PATCH] [libbsp/shared] Fixed compiler warning - no previous prototype for 'bsp_fatal_extension'

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 19 11:13:20 UTC 2013


On 03/19/2013 12:04 PM, Andreas Heinig wrote:
> ---
>   c/src/lib/libbsp/shared/bspclean.c |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/c/src/lib/libbsp/shared/bspclean.c b/c/src/lib/libbsp/shared/bspclean.c
> index 40955c6..b057aa2 100644
> --- a/c/src/lib/libbsp/shared/bspclean.c
> +++ b/c/src/lib/libbsp/shared/bspclean.c
> @@ -11,6 +11,8 @@
>   #include <bsp/bootcard.h>
>   #include <rtems/bspIo.h>
>
> +#include "include/default-initial-extension.h"
> +
>   void bsp_fatal_extension(
>     rtems_fatal_source source,
>     bool is_internal,
>

For which BSP do you see this warning?  This function should be declared in 
<bsp.h>.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list