forked from Imagelibrary/rtems
2009-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: moved extern declaration out of local scope.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user