resolve GCC 10 compilation issues
[debian/ipip] / main.c
diff --git a/main.c b/main.c
index 049120c1c350c10d8a0d94b33966996f135484d8..ed9e144993803b4d0032f8a526d8c1a036539b69 100644 (file)
--- a/main.c
+++ b/main.c
@@ -32,17 +32,21 @@ jmp_buf restart_env;
 static void hupper(int sig);
 jmp_buf term_env;
 static void terminator();
+int stat_interval;
+int no_timestamp;
+int debugd;
+int debugt;
 
+char progname[32];
 char *configfile, *routefile;
 int version_only;
 
-void
+int
 main(argc, argv)
        int argc;
        char *argv[];
 {
        int n, i, oops, help;
-       time_t now;
        FILE *pid_file;
 
        debugd = 0;
@@ -139,7 +143,6 @@ main(argc, argv)
 
        if(setjmp(term_env)!=0){
                send_stats(1);          /* force print of statistics */
-               now = time(NULL);
                syslog(LOG_CRIT, "exit (killed)");
                exit(0);
        }