summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpctl
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/snmpctl')
-rw-r--r--usr.sbin/snmpctl/parser.c6
-rw-r--r--usr.sbin/snmpctl/snmpctl.c3
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/snmpctl/parser.c b/usr.sbin/snmpctl/parser.c
index 67d7cf2dbdf..7499572ac3f 100644
--- a/usr.sbin/snmpctl/parser.c
+++ b/usr.sbin/snmpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.8 2009/06/06 05:52:00 pyr Exp $ */
+/* $OpenBSD: parser.c,v 1.9 2009/12/16 22:17:53 deraadt Exp $ */
/*
* Copyright (c) 2008 Reyk Floeter <reyk@vantronix.net>
@@ -155,8 +155,8 @@ static struct parse_result res;
static struct imsgbuf *ibuf;
static struct snmp_imsg sm;
-const struct token *match_token(char *, const struct token []);
-void show_valid_args(const struct token []);
+const struct token *match_token(char *, const struct token []);
+void show_valid_args(const struct token []);
struct parse_result *
parse(int argc, char *argv[])
diff --git a/usr.sbin/snmpctl/snmpctl.c b/usr.sbin/snmpctl/snmpctl.c
index 14c68346702..af93f91208f 100644
--- a/usr.sbin/snmpctl/snmpctl.c
+++ b/usr.sbin/snmpctl/snmpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpctl.c,v 1.11 2009/06/06 05:52:00 pyr Exp $ */
+/* $OpenBSD: snmpctl.c,v 1.12 2009/12/16 22:17:53 deraadt Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -54,7 +54,6 @@ struct imsgname {
void show_mib(void);
struct imsgname *monitor_lookup(u_int8_t);
-void monitor_host_status(struct imsg *);
void monitor_id(struct imsg *);
int monitor(struct imsg *);