X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ipip.h;h=fed254ab3fdb5d855a064021a37edd54ba8fc2ac;hb=0f4bf958bd933af507e29d0503cbf0537a0e6da6;hp=9384c4b92590a82b974401bc5c8a6b426e70ba34;hpb=b5b6999b0ff7b5b3aacd751362bdbe8d99231581;p=debian%2Fipip 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; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /*