[PATCH 21/34] m68k/mcf5329: Fix warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 20 20:34:23 UTC 2014
---
c/src/lib/libbsp/m68k/mcf5329/include/bsp.h | 5 +++++
c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h
index 719c5f9..4ba7f0f 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h
@@ -62,6 +62,11 @@ rtems_isr_entry set_vector(
#define UART1_IRQ_LEVEL 3
#define UART2_IRQ_LEVEL 3
+/*
+ * Prototypes for BSP methods which cross file boundaries
+ */
+void Init5329(void);
+
#ifdef __cplusplus
}
#endif
diff --git a/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c b/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c
index ffc71c8..8719514 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c
+++ b/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c
@@ -4,6 +4,7 @@
* functions can be called from here.
*/
+#include <bsp.h>
#include <bsp/bootcard.h>
extern void _wr_vbr(uint32_t);
--
1.9.3
More information about the devel
mailing list