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

2
ofac.c
View File

@ -16,6 +16,7 @@
#include "statusfile.h"
#include "site.h"
#include "sicshipadaba.h"
#include "sicsglobal.h"
extern void DevExecInit(void); /* devexec.c */
/*--------------------------------------------------------------------------*/
@ -231,5 +232,6 @@ int InitObjectCommands(pServer pServ, char *file)
}
RemoveStartupCommands();
isDuringInitialization = 0;
return 1;
}