diff options
author | Diomidis Spinellis <dds@FreeBSD.org> | 2007-11-08 11:13:03 +0000 |
---|---|---|
committer | Diomidis Spinellis <dds@FreeBSD.org> | 2007-11-08 11:13:03 +0000 |
commit | e7d538131dec859255faa06c5427d671f7f7f877 (patch) | |
tree | ad74f74cdc4f4e45536bf27ca39eb0886e9150d8 /usr.bin/mail/list.c | |
parent | c14530c701f8fbc06eb3e19460a1d191544b8501 (diff) | |
download | src-e7d538131dec859255faa06c5427d671f7f7f877.tar.gz src-e7d538131dec859255faa06c5427d671f7f7f877.zip |
Use static storage-class specifier where appropriate.
Found by: CScout
Notes
Notes:
svn path=/head/; revision=173439
Diffstat (limited to 'usr.bin/mail/list.c')
-rw-r--r-- | usr.bin/mail/list.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mail/list.c b/usr.bin/mail/list.c index abff92a928c9..b5907ecb2107 100644 --- a/usr.bin/mail/list.c +++ b/usr.bin/mail/list.c @@ -98,7 +98,7 @@ getmsglist(buf, vector, flags) * the colon and gives the corresponding modifier bit. */ -struct coltab { +static struct coltab { char co_char; /* What to find past : */ int co_bit; /* Associated modifier bit */ int co_mask; /* m_status bits to mask */ @@ -499,7 +499,7 @@ getrawlist(line, argv, argc) * appropriate. In any event, store the scanned `thing' in lexstring. */ -struct lex { +static struct lex { char l_char; char l_token; } singles[] = { @@ -686,7 +686,7 @@ matchsender(str, mesg) static char *to_fields[] = { "to", "cc", "bcc", NULL }; -int +static int matchto(str, mesg) char *str; int mesg; @@ -723,7 +723,7 @@ matchto(str, mesg) * be used to limit the search to just the 'To' field. */ -char lastscan[STRINGLEN]; +static char lastscan[STRINGLEN]; int matchfield(str, mesg) char *str; |