diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 18:07:22 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 18:07:22 +0000 |
commit | c7880448d17c705a94a88c6f710a37f1eecfc539 (patch) | |
tree | a24348a27f6ab2b5d62233183332b9b7939db08e /c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c | |
parent | 2009-10-20 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-c7880448d17c705a94a88c6f710a37f1eecfc539.tar.bz2 |
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c, startup/misc.c:
Fixed compiler warnings by adding prototypes to function
declarations and moving extern declarations to global scope.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c b/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c index fcab503a71..7a18df3362 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c @@ -115,7 +115,7 @@ BSP_clrLEDs(uint8_t mask) } uint8_t -BSP_eeprom_write_protect() +BSP_eeprom_write_protect(void) { uint8_t m = BSP_MVME3100_SYS_CR_EEPROM_WP; volatile uint8_t *r = BSP_MVME3100_SYS_CR; @@ -124,7 +124,7 @@ volatile uint8_t *r = BSP_MVME3100_SYS_CR; } uint8_t -BSP_eeprom_write_enable() +BSP_eeprom_write_enable(void) { uint8_t m = BSP_MVME3100_SYS_CR_EEPROM_WP; volatile uint8_t *r = BSP_MVME3100_SYS_CR; |