summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-12 20:50:58 +0000
committerhasso <hasso>2004-10-12 20:50:58 +0000
commit39db97e4e02eae08a1e18528367b6e9b07eb6a93 (patch)
tree2fb3a0269f4f2fe235ef722e3ad9cc8e6005bb6c /zebra/rib.h
parent39ff11dc92d004b59d1ec786fd54b27111fee0b5 (diff)
Some compiler warnings fixes and fix for bugzilla #119.
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 1141db11..b21e087f 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -234,11 +234,11 @@ void rib_close ();
void rib_init ();
int
-static_add_ipv4 (struct prefix *p, struct in_addr *gate, char *ifname,
+static_add_ipv4 (struct prefix *p, struct in_addr *gate, const char *ifname,
u_char flags, u_char distance, u_int32_t vrf_id);
int
-static_delete_ipv4 (struct prefix *p, struct in_addr *gate, char *ifname,
+static_delete_ipv4 (struct prefix *p, struct in_addr *gate, const char *ifname,
u_char distance, u_int32_t vrf_id);
#ifdef HAVE_IPV6
@@ -258,11 +258,12 @@ extern struct route_table *rib_table_ipv6;
int
static_add_ipv6 (struct prefix *p, u_char type, struct in6_addr *gate,
- char *ifname, u_char flags, u_char distance, u_int32_t vrf_id);
+ const char *ifname, u_char flags, u_char distance,
+ u_int32_t vrf_id);
int
static_delete_ipv6 (struct prefix *p, u_char type, struct in6_addr *gate,
- char *ifname, u_char distance, u_int32_t vrf_id);
+ const char *ifname, u_char distance, u_int32_t vrf_id);
#endif /* HAVE_IPV6 */