diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-12-16 22:17:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-12-16 22:17:54 +0000 |
commit | 95dd24649315dd92cf938e4e234b3aff16b85eaa (patch) | |
tree | 7979082c18db907a2f99457e52560a4c56779003 /usr.sbin/snmpctl | |
parent | b75821a3d434ed4b7e566053a35764e314adf6ef (diff) |
knf and unused variables
Diffstat (limited to 'usr.sbin/snmpctl')
-rw-r--r-- | usr.sbin/snmpctl/parser.c | 6 | ||||
-rw-r--r-- | usr.sbin/snmpctl/snmpctl.c | 3 |
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 *); |