summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/main.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/main.c
parent708cd7af18dda847027342ccd0ee5ec588215d93 (diff)
downloadFreeBSD-src-f4859bef574232113ba3dcc6bb533d0d9e06d304.zip
FreeBSD-src-f4859bef574232113ba3dcc6bb533d0d9e06d304.tar.gz
Add __unused. Ansi prototypes.
Diffstat (limited to 'usr.bin/mail/main.c')
-rw-r--r--usr.bin/mail/main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index d6db535..0d56580 100644
--- a/usr.bin/mail/main.c
+++ b/usr.bin/mail/main.c
@@ -56,9 +56,7 @@ static jmp_buf hdrjmp;
extern const char *version;
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
int i;
struct name *to, *cc, *bcc, *smopts;
@@ -305,8 +303,7 @@ Usage: %s [-dEiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ...\n\
*/
/*ARGSUSED*/
void
-hdrstop(signo)
- int signo;
+hdrstop(int signo __unused)
{
(void)fflush(stdout);
@@ -323,7 +320,7 @@ hdrstop(signo)
* Width is either 80 or ws_col;
*/
void
-setscreensize()
+setscreensize(void)
{
struct termios tbuf;
struct winsize ws;
OpenPOWER on IntegriCloud