From 0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 13 Dec 2011 13:32:56 +0000 Subject: Replace __const by const in all non-contributed source code. As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well. --- usr.bin/mail/extern.h | 2 +- usr.bin/mail/lex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/mail/extern.h b/usr.bin/mail/extern.h index f5f2872..2578d65 100644 --- a/usr.bin/mail/extern.h +++ b/usr.bin/mail/extern.h @@ -154,7 +154,7 @@ int ishead(char []); int isign(const char *, struct ignoretab []); int isprefix(const char *, const char *); void istrncpy(char *, const char *, size_t); -__const struct cmd * +const struct cmd * lex(char []); void load(char *); struct var * diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c index 3232001..4d799e7 100644 --- a/usr.bin/mail/lex.c +++ b/usr.bin/mail/lex.c @@ -482,7 +482,7 @@ setmsize(int sz) * to the passed command "word" */ -__const struct cmd * +const struct cmd * lex(char word[]) { const struct cmd *cp; -- cgit v1.1