From a20526cc30d68ca5c4c7951238faafa8969a31c1 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 16 Apr 2010 14:29:17 +0100 Subject: Removing compiler warnings. Removed nearly 100 compiler warnings in the various routing daemons which now clean compile. Removed one warning in vty.c, which was obscured by the other warnings. SO... this commit corrects the previous one. --- ospf6d/ospf6d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ospf6d/ospf6d.c') diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index 837a718e..0b7a1ff5 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -125,7 +125,7 @@ config_write_ospf6_debug (struct vty *vty) "%s AS Scoped Link State Database%s%s" static int -parse_show_level (int argc, const char *argv[]) +parse_show_level (int argc, argv_t argv) { int level = 0; if (argc) @@ -143,7 +143,7 @@ parse_show_level (int argc, const char *argv[]) } static u_int16_t -parse_type_spec (int argc, const char *argv[]) +parse_type_spec (int argc, argv_t argv) { u_int16_t type = 0; assert (argc); -- cgit v1.2.3