diff options
author | paul <paul> | 2005-06-28 19:17:12 +0200 |
---|---|---|
committer | paul <paul> | 2005-06-28 19:17:12 +0200 |
commit | a1ac18c4d5b4f8f4f279efb2ae12b46258f22282 (patch) | |
tree | e37732ef4b00ae98d1be693e721b01cc2566ba39 /zebra/rt.h | |
parent | 2005-06-28 Paul Jakma <paul.jakma@sun.com> (diff) | |
download | frr-a1ac18c4d5b4f8f4f279efb2ae12b46258f22282.tar.xz frr-a1ac18c4d5b4f8f4f279efb2ae12b46258f22282.zip |
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/rt.h')
-rw-r--r-- | zebra/rt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index faaddab93..e902b2109 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -23,17 +23,17 @@ #ifndef _ZEBRA_RT_H #define _ZEBRA_RT_H -int kernel_add_ipv4 (struct prefix *, struct rib *); -int kernel_delete_ipv4 (struct prefix *, struct rib *); -int kernel_add_route (struct prefix_ipv4 *, struct in_addr *, int, int); -int kernel_address_add_ipv4 (struct interface *, struct connected *); -int kernel_address_delete_ipv4 (struct interface *, struct connected *); +extern int kernel_add_ipv4 (struct prefix *, struct rib *); +extern int kernel_delete_ipv4 (struct prefix *, struct rib *); +extern int kernel_add_route (struct prefix_ipv4 *, struct in_addr *, int, int); +extern int kernel_address_add_ipv4 (struct interface *, struct connected *); +extern int kernel_address_delete_ipv4 (struct interface *, struct connected *); #ifdef HAVE_IPV6 -int kernel_add_ipv6 (struct prefix *, struct rib *); -int kernel_delete_ipv6 (struct prefix *, struct rib *); -int kernel_delete_ipv6_old (struct prefix_ipv6 *dest, struct in6_addr *gate, - unsigned int index, int flags, int table); +extern int kernel_add_ipv6 (struct prefix *, struct rib *); +extern int kernel_delete_ipv6 (struct prefix *, struct rib *); +extern int kernel_delete_ipv6_old (struct prefix_ipv6 *dest, struct in6_addr *gate, + unsigned int index, int flags, int table); #endif /* HAVE_IPV6 */ |