summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/lex.c
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2007-11-08 11:13:03 +0000
committerdds <dds@FreeBSD.org>2007-11-08 11:13:03 +0000
commit5ea072fa21afef1e83ec555168661a7fd61cb1ef (patch)
treead74f74cdc4f4e45536bf27ca39eb0886e9150d8 /usr.bin/mail/lex.c
parentbb2ff1033f157496f7ea65a9d04f414b24f8a94b (diff)
downloadFreeBSD-src-5ea072fa21afef1e83ec555168661a7fd61cb1ef.zip
FreeBSD-src-5ea072fa21afef1e83ec555168661a7fd61cb1ef.tar.gz
Use static storage-class specifier where appropriate.
Found by: CScout
Diffstat (limited to 'usr.bin/mail/lex.c')
-rw-r--r--usr.bin/mail/lex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c
index 7eb1123..4d5e14b 100644
--- a/usr.bin/mail/lex.c
+++ b/usr.bin/mail/lex.c
@@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
* Lexical processing of commands.
*/
-const char *prompt = "& ";
+static const char *prompt = "& ";
extern const struct cmd cmdtab[];
extern const char *version;
@@ -194,8 +194,8 @@ incfile()
return (msgCount - omsgCount);
}
-int *msgvec;
-int reset_on_stop; /* do a reset() if stopped */
+static int *msgvec;
+static int reset_on_stop; /* do a reset() if stopped */
/*
* Interpret user commands one by one. If standard input is not a tty,
@@ -539,7 +539,7 @@ isprefix(as1, as2)
* Also, unstack all source files.
*/
-int inithdr; /* am printing startup headers */
+static int inithdr; /* am printing startup headers */
/*ARGSUSED*/
void
OpenPOWER on IntegriCloud