From 39db97e4e02eae08a1e18528367b6e9b07eb6a93 Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 12 Oct 2004 20:50:58 +0000 Subject: Some compiler warnings fixes and fix for bugzilla #119. --- zebra/rib.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'zebra/rib.h') 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 */ -- cgit v1.2.1