dwmalone
e3e153e6ce
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
jmallett
27f2fd9f41
Minor cleanup: ANSI C function declarations, use argc after getopt(3) to check
...
for remaining arguments, rather than checking for *argv being a boolean truth.
Instead of using an empty case to check for -f- to mean "read stdin", and have
stdin reopned otherwise, use a FILE* for the mbox, and assign it to stdin when
we mean to use stdin, otherwise fopen(3). Kill `register' qualifier.
2002-06-30 17:36:54 +00:00
obrien
3cb8dae44d
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
imp
0338ac6a1a
remove __P
2002-03-22 01:22:50 +00:00
ru
6c04419e5a
Replaced unsafe use of sprintf() with snprintf().
2000-10-03 17:05:02 +00:00
imp
0d15e0b04e
optarg and optind are declared in unistd.h.
...
h_error is declared in netdb.h
2000-09-04 05:59:25 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
green
29efffdc0e
This covers the previous version, since a null commit message was accidentally
...
used:
Add a -c flag to print a count of messages and exit.
PR: 10921
Submitted by: James Howard <howardjp@byzantine.student.umd.edu>
Requested by: DES
1999-07-27 02:08:55 +00:00
green
8f2819d9c5
*** empty log message ***
1999-07-26 23:12:12 +00:00
charnier
5fb8336ce4
Add usage(), use err(3).
1997-07-08 10:59:50 +00:00
imp
cd84ece5fd
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
jkh
13cfddf829
Honor the MAIL environment variable, if set.
...
Submitted-by: Dan Cross <cross@math.psu.edu>
1996-10-06 01:54:22 +00:00
wosch
d2dcd4b5bd
Read from standard input if file name "-" is given.
1996-01-28 23:43:37 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00