summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-16 13:11:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 17:00:56 -0500
commit6c6a21c5132cda3c935b2c495f456c94ba6de165 (patch)
treebe3f1fad28b62905b9cf5a4533f77b708357369f
parentshared/vmeUniverse/vmeTsi148.c: Set defines to get all prototypes for methods... (diff)
downloadrtems-6c6a21c5132cda3c935b2c495f456c94ba6de165.tar.bz2
powerpc/shared/startup/probeMemEnd.c: Fix warning
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c b/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c
index 20214c12bc..8485dbf4e9 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c
@@ -1,8 +1,3 @@
-#include <rtems.h>
-#include <libcpu/spr.h>
-#include <libcpu/cpuIdent.h>
-#include <rtems/bspIo.h>
-
/*
* Authorship
* ----------
@@ -48,6 +43,10 @@
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
*/
+#include <bsp.h>
+#include <libcpu/spr.h>
+#include <libcpu/cpuIdent.h>
+#include <rtems/bspIo.h>
/* Simple memory probing routine
*
@@ -116,7 +115,7 @@ SPR_RW(HID0)
/* Shouldn't matter if the caches are enabled or not... */
/* FIXME: This should go into libcpu, really... */
-int
+static int
CPU_lockUnlockCaches(register int doLock)
{
register uint32_t v, x;