From df1eb9288e93b9f24dc5e11e85d79b860eadf61c Mon Sep 17 00:00:00 2001 From: Chris Caputo Date: Wed, 6 May 2009 15:16:12 -0700 Subject: Compiler warning fixes for when --enable-snmp is configured. Compiled on 32-bit and 64-bit linux gcc 4.1.2 platforms. No run-time testing on 32-bit and limited run-time testing on 64-bit. --- ospf6d/ospf6_snmp.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ospf6d/ospf6_snmp.c') diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c index 8d9842ce..3cb26d0c 100644 --- a/ospf6d/ospf6_snmp.c +++ b/ospf6d/ospf6_snmp.c @@ -128,9 +128,12 @@ oid ospfv3_oid [] = { OSPFv3MIB }; static struct in_addr ospf6_empty_id = {0}; /* Hook functions. */ -static u_char *ospfv3GeneralGroup (); -static u_char *ospfv3AreaEntry (); -static u_char *ospfv3AreaLsdbEntry (); +static u_char *ospfv3GeneralGroup (struct variable *, oid *, size_t *, + int, size_t *, WriteMethod **); +static u_char *ospfv3AreaEntry (struct variable *, oid *, size_t *, + int, size_t *, WriteMethod **); +static u_char *ospfv3AreaLsdbEntry (struct variable *, oid *, size_t *, + int, size_t *, WriteMethod **); struct variable ospfv3_variables[] = { -- cgit v1.2.3