From 0be8dfb2a95f41f100982085595b7c7505127018 Mon Sep 17 00:00:00 2001 From: Chris Caputo Date: Tue, 2 Jun 2009 18:40:07 +0100 Subject: [snmp] 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ospf6d') diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c index 8d9842ce..5ac7846d 100644 --- a/ospf6d/ospf6_snmp.c +++ b/ospf6d/ospf6_snmp.c @@ -47,6 +47,7 @@ #include "ospf6_message.h" #include "ospf6_neighbor.h" #include "ospf6d.h" +#include "ospf6_snmp.h" /* OSPFv3-MIB */ #define OSPFv3MIB 1,3,6,1,3,102 @@ -128,9 +129,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.1