diff options
Diffstat (limited to 'usr.bin/mail/main.c')
-rw-r--r-- | usr.bin/mail/main.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c index 3dc5938..0d56580 100644 --- a/usr.bin/mail/main.c +++ b/usr.bin/mail/main.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. @@ -60,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; @@ -309,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); @@ -327,7 +320,7 @@ hdrstop(signo) * Width is either 80 or ws_col; */ void -setscreensize() +setscreensize(void) { struct termios tbuf; struct winsize ws; |