]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
snmplib function prototype cleanups
authorhno <>
Thu, 10 May 2001 13:23:29 +0000 (13:23 +0000)
committerhno <>
Thu, 10 May 2001 13:23:29 +0000 (13:23 +0000)
snmplib/mib.c
snmplib/snmplib_debug.c

index 76265aede7dcfe1db4b4c5fdfcc990891cf3857b..582a7933d8c4b1587e97758153c956f07c8c2d36 100644 (file)
@@ -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)
index 6d78443e8eb70aee7f0d27f9c980a5bf0009d22a..2228a6ea19b8781230fb53a31195a80378fa0f9f 100644 (file)
@@ -15,6 +15,8 @@
 #include "snprintf.h"
 #endif
 
+#include "snmp_debug.h"
+
 #if STDC_HEADERS
 void (*snmplib_debug_hook) (int, char *,...) = NULL;
 #else