diff options
author | charnier <charnier@FreeBSD.org> | 2010-12-19 16:25:23 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2010-12-19 16:25:23 +0000 |
commit | f4859bef574232113ba3dcc6bb533d0d9e06d304 (patch) | |
tree | cb3d657c33bdf93a7127358a4d9a36796aa4d3dd /usr.bin/mail/quit.c | |
parent | 708cd7af18dda847027342ccd0ee5ec588215d93 (diff) | |
download | FreeBSD-src-f4859bef574232113ba3dcc6bb533d0d9e06d304.zip FreeBSD-src-f4859bef574232113ba3dcc6bb533d0d9e06d304.tar.gz |
Add __unused. Ansi prototypes.
Diffstat (limited to 'usr.bin/mail/quit.c')
-rw-r--r-- | usr.bin/mail/quit.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/mail/quit.c b/usr.bin/mail/quit.c index 84f8c90..a960755 100644 --- a/usr.bin/mail/quit.c +++ b/usr.bin/mail/quit.c @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); * The "quit" command. */ int -quitcmd() +quitcmd(void) { /* * If we are sourcing, then return 1 so execute() can handle it. @@ -66,7 +66,7 @@ quitcmd() * Remove the system mailbox, if none saved there. */ void -quit() +quit(void) { int mcount, p, modify, autohold, anystat, holdbit, nohold; FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; @@ -332,8 +332,7 @@ newmail: * Incorporate the any new mail that we found. */ int -writeback(res) - FILE *res; +writeback(FILE *res) { struct message *mp; int p, c; @@ -386,7 +385,7 @@ writeback(res) * file from the temporary. Save any new stuff appended to the file. */ void -edstop() +edstop(void) { int gotcha, c; struct message *mp; |