bsp/mpc55xx: Fix prototype

This commit is contained in:
Sebastian Huber
2013-02-18 16:27:50 +01:00
parent 78a50d924c
commit ced11eb1d4
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ typedef enum {
MPC55XX_FATAL_CONSOLE_LINFLEX_ERR_IRQ_REMOVE MPC55XX_FATAL_CONSOLE_LINFLEX_ERR_IRQ_REMOVE
} mpc55xx_fatal_code; } mpc55xx_fatal_code;
void mpc55xx_fatal(rtems_fatal_code code) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; void mpc55xx_fatal(mpc55xx_fatal_code code) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@@ -59,7 +59,7 @@ void _BSP_Fatal_error(unsigned n)
} }
} }
void mpc55xx_fatal(rtems_fatal_code code) void mpc55xx_fatal(mpc55xx_fatal_code code)
{ {
rtems_fatal(RTEMS_FATAL_SOURCE_BSP_SPECIFIC, code); rtems_fatal(RTEMS_FATAL_SOURCE_BSP_SPECIFIC, code);
} }