From a1ac18c4d5b4f8f4f279efb2ae12b46258f22282 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 28 Jun 2005 17:17:12 +0000 Subject: 2005-06-28 Paul Jakma * (global) Extern and static'ification, with related fixups of declarations, ensuring files include their own headers, etc. if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in list loop --- zebra/interface.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'zebra/interface.h') diff --git a/zebra/interface.h b/zebra/interface.h index 0033f7d5..0083cbab 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -203,30 +203,30 @@ struct zebra_if }; -void if_delete_update (struct interface *ifp); -void if_add_update (struct interface *ifp); -void if_up (struct interface *); -void if_down (struct interface *); -void if_refresh (struct interface *); -int if_subnet_add (struct interface *, struct connected *); -int if_subnet_delete (struct interface *, struct connected *); +extern void if_delete_update (struct interface *ifp); +extern void if_add_update (struct interface *ifp); +extern void if_up (struct interface *); +extern void if_down (struct interface *); +extern void if_refresh (struct interface *); +extern int if_subnet_add (struct interface *, struct connected *); +extern int if_subnet_delete (struct interface *, struct connected *); #ifdef HAVE_PROC_NET_DEV -int ifstat_update_proc (); +extern int ifstat_update_proc (void); #endif /* HAVE_PROC_NET_DEV */ #ifdef HAVE_NET_RT_IFLIST -void ifstat_update_sysctl (); +extern void ifstat_update_sysctl (void); #endif /* HAVE_NET_RT_IFLIST */ #ifdef HAVE_PROC_NET_DEV -int interface_list_proc (); +extern int interface_list_proc (void); #endif /* HAVE_PROC_NET_DEV */ #ifdef HAVE_PROC_NET_IF_INET6 -int ifaddr_proc_ipv6 (); +extern int ifaddr_proc_ipv6 (void); #endif /* HAVE_PROC_NET_IF_INET6 */ #ifdef BSDI -int if_kvm_get_mtu (struct interface *); +extern int if_kvm_get_mtu (struct interface *); #endif /* BSDI */ #endif /* _ZEBRA_INTERFACE_H */ -- cgit v1.2.3