summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
committered <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
commit0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa (patch)
treeff467d16b69860d02d290f3c005240ea4a39828c /usr.bin/mail
parentb87df3a8d39d015de9da414c9d47a28b51a5e163 (diff)
downloadFreeBSD-src-0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa.zip
FreeBSD-src-0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa.tar.gz
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.
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/extern.h2
-rw-r--r--usr.bin/mail/lex.c2
2 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud