diff --git a/require.c b/require.c index c56c71e..29b92fa 100644 --- a/require.c +++ b/require.c @@ -3,7 +3,7 @@ * * $Author: zimoch $ * $ID$ -* $Date: 2012/11/07 10:13:47 $ +* $Date: 2012/11/07 10:17:28 $ * * DISCLAIMER: Use at your own risc and so on. No warranty, no refund. */ @@ -31,6 +31,8 @@ extern int iocshCmd (const char *cmd); int requireDebug=0; +static int firstTime = 1; + #define DIRSEP "/" #define PATHSEP ":" #define PREFIX @@ -328,8 +330,6 @@ If require is called from the iocsh before iocInit and fails, it calls epicsExit to abort the application. */ -static int firstTime = 1; - /* wrapper to abort statup script */ static int require_priv(const char* module, const char* ver);