diff options
-rw-r--r-- | usr.sbin/ldpctl/parser.c | 6 | ||||
-rw-r--r-- | usr.sbin/ldpctl/parser.h | 6 | ||||
-rw-r--r-- | usr.sbin/ospf6ctl/parser.c | 6 | ||||
-rw-r--r-- | usr.sbin/ospf6ctl/parser.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/ldpctl/parser.c b/usr.sbin/ldpctl/parser.c index f3652d2a105..db9d8e16a3d 100644 --- a/usr.sbin/ldpctl/parser.c +++ b/usr.sbin/ldpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.2 2009/11/02 20:35:20 claudio Exp $ */ +/* $OpenBSD: parser.c,v 1.3 2010/01/13 11:33:12 jsg Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -149,7 +149,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; @@ -229,7 +229,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; diff --git a/usr.sbin/ldpctl/parser.h b/usr.sbin/ldpctl/parser.h index 78a72bb7d4f..b54b179fbbe 100644 --- a/usr.sbin/ldpctl/parser.h +++ b/usr.sbin/ldpctl/parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.h,v 1.2 2009/11/02 20:35:20 claudio Exp $ */ +/* $OpenBSD: parser.h,v 1.3 2010/01/13 11:33:12 jsg Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -50,8 +50,8 @@ struct parse_result { }; struct parse_result *parse(int, char *[]); -const struct token *match_token(const char *, const struct token []); -void show_valid_args(const struct token []); +const struct token *match_token(const char *, const struct token *); +void show_valid_args(const struct token *); int parse_addr(const char *, struct in_addr *); int parse_prefix(const char *, struct in_addr *, u_int8_t *); 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; diff --git a/usr.sbin/ospf6ctl/parser.h b/usr.sbin/ospf6ctl/parser.h index 38064c0601f..4144f361e7f 100644 --- a/usr.sbin/ospf6ctl/parser.h +++ b/usr.sbin/ospf6ctl/parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.h,v 1.6 2009/11/02 20:25:27 claudio Exp $ */ +/* $OpenBSD: parser.h,v 1.7 2010/01/13 11:33:12 jsg Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -62,8 +62,8 @@ struct parse_result { }; struct parse_result *parse(int, char *[]); -const struct token *match_token(const char *, const struct token []); -void show_valid_args(const struct token []); +const struct token *match_token(const char *, const struct token *); +void show_valid_args(const struct token *); int parse_addr(const char *, struct in6_addr *); int parse_prefix(const char *, struct in6_addr *, u_int8_t *); |