summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6ctl/parser.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-01-13 11:33:13 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-01-13 11:33:13 +0000
commitdd48abcd0e2db048cc44ce9a2fa58748a3fd41db (patch)
tree0d4f08f367ab64ab7988eaa7d29ce06053198754 /usr.sbin/ospf6ctl/parser.c
parenteb9be0aa71de0bc2368efd5edf9f7258b933accf (diff)
Fix problems with incomplete arrays that was fixed in other ospfctl
based programs a few months back. ok claudio@
Diffstat (limited to 'usr.sbin/ospf6ctl/parser.c')
-rw-r--r--usr.sbin/ospf6ctl/parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospf6ctl/parser.c b/usr.sbin/ospf6ctl/parser.c
index 904c4192ae0..ef1d0e3cc6f 100644
--- a/usr.sbin/ospf6ctl/parser.c
+++ b/usr.sbin/ospf6ctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.7 2009/11/02 20:25:27 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.8 2010/01/13 11:33:12 jsg Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -174,7 +174,7 @@ parse(int argc, char *argv[])
}
const struct token *
-match_token(const char *word, const struct token table[])
+match_token(const char *word, const struct token *table)
{
u_int i, match;
const struct token *t = NULL;
@@ -254,7 +254,7 @@ match_token(const char *word, const struct token table[])
}
void
-show_valid_args(const struct token table[])
+show_valid_args(const struct token *table)
{
int i;