summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorpaul <paul>2005-06-28 17:17:12 +0000
committerpaul <paul>2005-06-28 17:17:12 +0000
commita1ac18c4d5b4f8f4f279efb2ae12b46258f22282 (patch)
treee37732ef4b00ae98d1be693e721b01cc2566ba39 /zebra/interface.h
parent94f2b3923e9663d0355a829f22e4e31cf68ee7b8 (diff)
2005-06-28 Paul Jakma <paul.jakma@sun.com>
* (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
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h24
1 files changed, 12 insertions, 12 deletions
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 */