summaryrefslogtreecommitdiff
path: root/mib/parse-compat.inc.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-01-28 19:22:08 +0000
committerStef Walter <stef@memberwebs.com>2006-01-28 19:22:08 +0000
commit9c8b4f051ae56fa7ec4b30ed45836e9715fb3cc9 (patch)
treed191917f121b2cf8d158d6bd61287752218d0986 /mib/parse-compat.inc.c
parent7996df8d6567eec464f5d4c427515daefe8e2373 (diff)
Fix compile time warnings.
Diffstat (limited to 'mib/parse-compat.inc.c')
-rw-r--r--mib/parse-compat.inc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mib/parse-compat.inc.c b/mib/parse-compat.inc.c
index 56b42d4..8f8fc0d 100644
--- a/mib/parse-compat.inc.c
+++ b/mib/parse-compat.inc.c
@@ -56,7 +56,7 @@ static int initialized = 0;
#define TRUE 1
/* No need to implement these */
-#define DEBUGMSGTL
+#define DEBUGMSGTL(x)
#define set_function(tp)
/* Just return the tree head */
@@ -102,7 +102,7 @@ netsnmp_ds_get_int(int dummy, int var)
#define netsnmp_ds_set_boolean(a, b, c)
#define netsnmp_ds_toggle_boolean(a, b)
-static int
+static void
snmp_log(int level, const char* msg, ...)
{
va_list ap;
@@ -116,7 +116,7 @@ snmp_log(int level, const char* msg, ...)
}
/* Only used to open files */
-static int
+static void
snmp_log_perror(const char* file)
{
rb_message(LOG_ERR, "couldn't open file: %s", file);