From: hno <> Date: Thu, 10 May 2001 13:23:29 +0000 (+0000) Subject: snmplib function prototype cleanups X-Git-Tag: SQUID_3_0_PRE1~1513 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d75eeb7885029bc8a5820da492c789202eec99cb;p=thirdparty%2Fsquid.git snmplib function prototype cleanups --- diff --git a/snmplib/mib.c b/snmplib/mib.c index 76265aede7..582a7933d8 100644 --- a/snmplib/mib.c +++ b/snmplib/mib.c @@ -477,7 +477,7 @@ sprint_by_type(buf, var, enums, quiet) } #endif -static struct snmp_mib_tree *get_symbol(); +static struct snmp_mib_tree *get_symbol(oid *objid, int objidlen, struct snmp_mib_tree *subtree, char *buf); oid RFC1066_MIB[] = {1, 3, 6, 1, 2, 1}; @@ -895,6 +895,7 @@ print_variable_list_value(variable_list * pvariable) } #endif +#if UNUSED_CODE void print_type(variable_list * var) { @@ -931,6 +932,7 @@ print_type(variable_list * var) break; } } +#endif void print_oid_nums(oid * O, int len) diff --git a/snmplib/snmplib_debug.c b/snmplib/snmplib_debug.c index 6d78443e8e..2228a6ea19 100644 --- a/snmplib/snmplib_debug.c +++ b/snmplib/snmplib_debug.c @@ -15,6 +15,8 @@ #include "snprintf.h" #endif +#include "snmp_debug.h" + #if STDC_HEADERS void (*snmplib_debug_hook) (int, char *,...) = NULL; #else