summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/quit.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2010-12-19 16:25:23 +0000
committercharnier <charnier@FreeBSD.org>2010-12-19 16:25:23 +0000
commitf4859bef574232113ba3dcc6bb533d0d9e06d304 (patch)
treecb3d657c33bdf93a7127358a4d9a36796aa4d3dd /usr.bin/mail/quit.c
parent708cd7af18dda847027342ccd0ee5ec588215d93 (diff)
downloadFreeBSD-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.c9
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;
OpenPOWER on IntegriCloud