Create and use sicsglobal.h and add isDuringInitialization

This commit is contained in:
Douglas Clowes
2014-06-19 14:24:46 +10:00
parent 0d39693c3b
commit 1da5fc9062
5 changed files with 11 additions and 3 deletions

View File

@ -23,6 +23,7 @@
#include <unistd.h>
#include "nserver.h"
#include "servlog.h"
#include "sicsglobal.h"
/* ========================= Less dreadful file statics =================== */
@ -47,7 +48,6 @@ int main(int argc, char *argv[])
int daemonize = 0;
char *file = NULL;
int i, firstArg = 1;
extern const char *argv0;
extern pServer pServ;
argv0 = argv[0];