summaryrefslogtreecommitdiff
path: root/ospf6d
diff options
context:
space:
mode:
authorChris Caputo <ccaputo@alt.net>2009-06-02 18:40:07 +0100
committerPaul Jakma <paul@quagga.net>2009-06-02 18:45:10 +0100
commit0be8dfb2a95f41f100982085595b7c7505127018 (patch)
treeadd7218b0c518ac0cd276c74fe700b5ed1f26762 /ospf6d
parent42176e6b01c9ca2b2725952684b2d7792468e861 (diff)
[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.
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_snmp.c10
1 files changed, 7 insertions, 3 deletions
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[] =
{