X-Git-Url: https://git.gag.com/?p=debian%2Fipip;a=blobdiff_plain;f=ipip.h;fp=ipip.h;h=fed254ab3fdb5d855a064021a37edd54ba8fc2ac;hp=9384c4b92590a82b974401bc5c8a6b426e70ba34;hb=ffc43f9c4b4ef9988ae1172548d4b3e2cb90ca35;hpb=fa89103518361dba34d2e5a566f04a420bbe577a diff --git a/ipip.h b/ipip.h index 9384c4b..fed254a 100644 --- a/ipip.h +++ b/ipip.h @@ -48,11 +48,11 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -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; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /*