Code

Added argc checks before attempting to access argv[]
[nagiosplug.git] / plugins / popen.h.in
index adae2ecf6dcc71976eb96c7cc353918942cda20a..a1af4be06acc32f7942c5358c777aa983c95e996 100644 (file)
@@ -2,7 +2,7 @@ FILE *spopen (const char *);
 int spclose (FILE *);
 RETSIGTYPE popen_timeout_alarm_handler (int);
 
-int timeout_interval;
+extern int timeout_interval;
 pid_t *childpid;
 int *child_stderr_array;
 FILE *child_process;