Browse code

is_main made accessible from modules on destroy

Jan Janak authored on 03/09/2002 23:31:10
Showing 2 changed files
... ...
@@ -68,4 +68,6 @@ extern int process_no;
68 68
 
69 69
 extern int reply_to_via;
70 70
 
71
+extern int is_main;
72
+
71 73
 #endif
... ...
@@ -258,7 +258,7 @@ extern FILE* yyin;
258 258
 extern int yyparse();
259 259
 
260 260
 
261
-static int is_main=0; /* flag = is this the  "main" process? */
261
+int is_main=0; /* flag = is this the  "main" process? */
262 262
 
263 263
 char* pid_file = 0; /* filename as asked by use */
264 264