summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/parser.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-08-08 00:02:23 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-08-08 00:02:23 +0000
commitc5e18c2f33641d513a85b62af9eb11c00cac8c9c (patch)
tree529768b401fcc9fe909124f1a4190e12fe87e925 /usr.sbin/smtpd/parser.h
parent22b9719d0a6091d299d5b64ba0f389a3a52b181b (diff)
import some changes from portable smtpd to reduce the delta between both.
this commit contains mostly missing casts and cosmethic changes, do not expect to build this anywhere but on OpenBSD, it does not contain any of the portable glue.
Diffstat (limited to 'usr.sbin/smtpd/parser.h')
-rw-r--r--usr.sbin/smtpd/parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/parser.h b/usr.sbin/smtpd/parser.h
index bdee8ddfbbe..e4d9d458d9d 100644
--- a/usr.sbin/smtpd/parser.h
+++ b/usr.sbin/smtpd/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.7 2009/02/24 12:07:47 gilles Exp $ */
+/* $OpenBSD: parser.h,v 1.8 2009/08/08 00:02:22 gilles Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -40,5 +40,5 @@ 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 *);