diff options
author | paul <paul> | 2005-06-28 17:17:12 +0000 |
---|---|---|
committer | paul <paul> | 2005-06-28 17:17:12 +0000 |
commit | a1ac18c4d5b4f8f4f279efb2ae12b46258f22282 (patch) | |
tree | e37732ef4b00ae98d1be693e721b01cc2566ba39 /zebra/ioctl.h | |
parent | 94f2b3923e9663d0355a829f22e4e31cf68ee7b8 (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/ioctl.h')
-rw-r--r-- | zebra/ioctl.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/zebra/ioctl.h b/zebra/ioctl.h index a82c3125..5d9e09f0 100644 --- a/zebra/ioctl.h +++ b/zebra/ioctl.h @@ -24,27 +24,27 @@ #define _ZEBRA_IOCTL_H /* Prototypes. */ -void ifreq_set_name (struct ifreq *, struct interface *); -int if_ioctl (u_long, caddr_t); +extern void ifreq_set_name (struct ifreq *, struct interface *); +extern int if_ioctl (u_long, caddr_t); -int if_set_flags (struct interface *, unsigned long); -int if_unset_flags (struct interface *, unsigned long); -void if_get_flags (struct interface *); +extern int if_set_flags (struct interface *, unsigned long); +extern int if_unset_flags (struct interface *, unsigned long); +extern void if_get_flags (struct interface *); -int if_set_prefix (struct interface *, struct connected *); -int if_unset_prefix (struct interface *, struct connected *); +extern int if_set_prefix (struct interface *, struct connected *); +extern int if_unset_prefix (struct interface *, struct connected *); -void if_get_metric (struct interface *); -void if_get_mtu (struct interface *); +extern void if_get_metric (struct interface *); +extern void if_get_mtu (struct interface *); #ifdef HAVE_IPV6 -int if_prefix_add_ipv6 (struct interface *, struct connected *); -int if_prefix_delete_ipv6 (struct interface *, struct connected *); +extern int if_prefix_add_ipv6 (struct interface *, struct connected *); +extern int if_prefix_delete_ipv6 (struct interface *, struct connected *); #endif /* HAVE_IPV6 */ #ifdef SOLARIS_IPV6 -int if_ioctl_ipv6(u_long, caddr_t); -struct connected *if_lookup_linklocal( struct interface *); +extern int if_ioctl_ipv6(u_long, caddr_t); +extern struct connected *if_lookup_linklocal( struct interface *); #define AF_IOCTL(af, request, buffer) \ ((af) == AF_INET? if_ioctl(request, buffer) : \ |