[rtems commit] bsp/mpc55xx: Fix prototype
Sebastian Huber
sebh at rtems.org
Wed Feb 20 08:21:08 UTC 2013
Module: rtems
Branch: master
Commit: ced11eb1d4a22331f7f8c7a7336eaa79a38277f4
Changeset: http://git.rtems.org/rtems/commit/?id=ced11eb1d4a22331f7f8c7a7336eaa79a38277f4
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Feb 18 16:27:50 2013 +0100
bsp/mpc55xx: Fix prototype
---
c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h | 2 +-
.../libbsp/powerpc/mpc55xxevb/startup/bspstart.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h
index a09fec4..e3c1d5b 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h
@@ -117,7 +117,7 @@ typedef enum {
MPC55XX_FATAL_CONSOLE_LINFLEX_ERR_IRQ_REMOVE
} 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
}
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c
index 6421b97..9c51fcf 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c
@@ -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);
}
More information about the vc
mailing list