resolve GCC 10 compilation issues
[debian/ipip] / ipip.h
diff --git a/ipip.h b/ipip.h
index 9384c4b92590a82b974401bc5c8a6b426e70ba34..fed254ab3fdb5d855a064021a37edd54ba8fc2ac 100644 (file)
--- a/ipip.h
+++ b/ipip.h
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
-int debugd;
-int debugt;
-char progname[32];
-int no_timestamp;
-int stat_interval;
+extern int debugd;
+extern int debugt;
+extern char progname[];
+extern int no_timestamp;
+extern int stat_interval;
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
@@ -122,14 +122,14 @@ struct route {
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
 #ifdef LINUX
-struct ipip_route rts[MAX_ROUTES];
+extern struct ipip_route rts[MAX_ROUTES];
 #else
 struct route rts[MAX_ROUTES];
 #endif
-int rts_top;
+extern int rts_top;
 
-struct interface ifs[MAX_IFACES];
-int ifs_top;
+extern struct interface ifs[MAX_IFACES];
+extern int ifs_top;
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 /*