diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-12-02 00:33:47 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-12-02 00:33:47 +0000 |
commit | c261d9c36cd2f9144f0a3f596417d1a3669c7dce (patch) | |
tree | b28cb4d4b71c03298f54c88d4c003758e695c927 /c | |
parent | 2009-12-01 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-c261d9c36cd2f9144f0a3f596417d1a3669c7dce.tar.bz2 |
2009-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: moved extern declaration
out of local scope.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/vme/vme_universe.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog index 86bb7b789f..3e75122b9e 100644 --- a/c/src/lib/libbsp/powerpc/ChangeLog +++ b/c/src/lib/libbsp/powerpc/ChangeLog @@ -1,5 +1,10 @@ 2009-12-01 Till Straumann <strauman@slac.stanford.edu> + * shared/vme/vme_universe.c: moved extern declaration + out of local scope. + +2009-12-01 Till Straumann <strauman@slac.stanford.edu> + * shared/startup/panic.c: Fixed compiler warning. 2009-12-01 Till Straumann <strauman@slac.stanford.edu> diff --git a/c/src/lib/libbsp/powerpc/shared/vme/vme_universe.c b/c/src/lib/libbsp/powerpc/shared/vme/vme_universe.c index 591e676598..09e9aa838a 100644 --- a/c/src/lib/libbsp/powerpc/shared/vme/vme_universe.c +++ b/c/src/lib/libbsp/powerpc/shared/vme/vme_universe.c @@ -373,6 +373,8 @@ unsigned short rval; #define VME_CLEAR_BRIDGE_ERRORS tsi_clear_errors #endif +extern unsigned short (*_BSP_clear_vmebridge_errors)(int); + int BSP_VMEInit(void) { #if defined(_VME_DRIVER_UNIVERSE) @@ -392,7 +394,6 @@ int BSP_VMEInit(void) vmeTsi148Reset(); #ifdef VME_CLEAR_BRIDGE_ERRORS { - extern unsigned short (*_BSP_clear_vmebridge_errors)(void); _BSP_clear_vmebridge_errors = VME_CLEAR_BRIDGE_ERRORS; |