[PATCH 04/62] csb336/startup/bspstart.c: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 19:59:54 UTC 2014


---
 c/src/lib/libbsp/arm/csb336/startup/bspstart.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/arm/csb336/startup/bspstart.c b/c/src/lib/libbsp/arm/csb336/startup/bspstart.c
index 5f1221a..0a134ba 100644
--- a/c/src/lib/libbsp/arm/csb336/startup/bspstart.c
+++ b/c/src/lib/libbsp/arm/csb336/startup/bspstart.c
@@ -1,6 +1,8 @@
 /*
  * Cogent CSB336 - MC9328MXL SBC startup code
- *
+ */
+
+/*
  * Copyright (c) 2004 by Cogent Computer Systems
  * Written by Jay Monkman <jtm at lopingdog.com>
  *
@@ -13,8 +15,7 @@
 #include <bsp/irq-generic.h>
 #include <rtems/bspIo.h>
 #include <mc9328mxl.h>
-
-extern void mmu_set_cpu_async_mode(void);
+#include <libcpu/mmu.h>
 
 /*
  * bsp_start_default - BSP initialization function
@@ -28,7 +29,7 @@ extern void mmu_set_cpu_async_mode(void);
  *   Since RTEMS is not configured, no RTEMS functions can be called.
  *
  */
-void bsp_start_default( void )
+static void bsp_start_default( void )
 {
   int i;
 
-- 
1.9.3




More information about the devel mailing list