summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-07 17:20:14 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:55 -0500
commit8aec7f5177a3ad060be66f4f25e44cd13b7194ef (patch)
tree7c16a6e4df84301e5a3e7e513e96546037ce91f7
parentd52494ec8fce44bffa5676a655df57014bbe0eb9 (diff)
downloadrtems-8aec7f5177a3ad060be66f4f25e44cd13b7194ef.tar.bz2
arm/lpc24xx/misc/system-clocks.c: Fix warning
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c b/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c
index 6ef027dfc6..f64fca1bed 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c
+++ b/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c
@@ -82,7 +82,7 @@ void lpc24xx_micro_seconds_delay(unsigned us)
}
#ifdef ARM_MULTILIB_ARCH_V7M
- unsigned lpc17xx_sysclk(unsigned clksrcsel)
+ static unsigned lpc17xx_sysclk(unsigned clksrcsel)
{
return (clksrcsel & LPC17XX_SCB_CLKSRCSEL_CLKSRC) != 0 ?
LPC24XX_OSCILLATOR_MAIN