summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/quit.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/quit.c')
-rw-r--r--usr.bin/mail/quit.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/usr.bin/mail/quit.c b/usr.bin/mail/quit.c
index 4507c59..a960755 100644
--- a/usr.bin/mail/quit.c
+++ b/usr.bin/mail/quit.c
@@ -10,10 +10,6 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@@ -53,7 +49,7 @@ __FBSDID("$FreeBSD$");
* The "quit" command.
*/
int
-quitcmd()
+quitcmd(void)
{
/*
* If we are sourcing, then return 1 so execute() can handle it.
@@ -70,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;
@@ -336,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;
@@ -390,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