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:
Till Straumann
2009-12-02 00:33:47 +00:00
parent 559aebce25
commit c261d9c36c
2 changed files with 7 additions and 1 deletions

View File

@@ -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.

View File

@@ -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;