=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/cmd1.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/mail/cmd1.c 1997/07/13 21:21:08 1.6 --- src/usr.bin/mail/cmd1.c 1997/07/13 23:53:57 1.7 *************** *** 1,4 **** ! /* $OpenBSD: cmd1.c,v 1.6 1997/07/13 21:21:08 millert Exp $ */ /* $NetBSD: cmd1.c,v 1.9 1997/07/09 05:29:48 mikel Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: cmd1.c,v 1.7 1997/07/13 23:53:57 millert Exp $ */ /* $NetBSD: cmd1.c,v 1.9 1997/07/09 05:29:48 mikel Exp $ */ /*- *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)cmd1.c 8.2 (Berkeley) 4/20/95"; #else ! static char rcsid[] = "$OpenBSD: cmd1.c,v 1.6 1997/07/13 21:21:08 millert Exp $"; #endif #endif /* not lint */ --- 38,44 ---- #if 0 static char sccsid[] = "@(#)cmd1.c 8.2 (Berkeley) 4/20/95"; #else ! static char rcsid[] = "$OpenBSD: cmd1.c,v 1.7 1997/07/13 23:53:57 millert Exp $"; #endif #endif /* not lint */ *************** *** 185,191 **** char *name; mp = &message[mesg-1]; ! (void) readline(setinput(mp), headline, LINESIZE); if ((subjline = hfield("subject", mp)) == NOSTR) subjline = hfield("subj", mp); /* --- 185,191 ---- char *name; mp = &message[mesg-1]; ! (void)readline(setinput(mp), headline, LINESIZE); if ((subjline = hfield("subject", mp)) == NOSTR) subjline = hfield("subj", mp); /* *************** *** 317,324 **** FILE *obuf; #if __GNUC__ /* Avoid longjmp clobbering */ ! (void) &cp; ! (void) &obuf; #endif obuf = stdout; --- 317,324 ---- FILE *obuf; #if __GNUC__ /* Avoid longjmp clobbering */ ! (void)&cp; ! (void)&obuf; #endif obuf = stdout; *************** *** 349,355 **** dot = mp; if (value("quiet") == NOSTR) fprintf(obuf, "Message %d:\n", *ip); ! (void) send(mp, obuf, doign ? ignore : 0, NOSTR); } close_pipe: if (obuf != stdout) { --- 349,355 ---- dot = mp; if (value("quiet") == NOSTR) fprintf(obuf, "Message %d:\n", *ip); ! (void)send(mp, obuf, doign ? ignore : 0, NOSTR); } close_pipe: if (obuf != stdout) { *************** *** 471,477 **** } if ((cmd = value("LISTER")) == NOSTR) cmd = "ls"; ! (void) run_command(cmd, 0, -1, -1, dirname, NOSTR, NOSTR); return(0); } --- 471,477 ---- } if ((cmd = value("LISTER")) == NOSTR) cmd = "ls"; ! (void)run_command(cmd, 0, -1, -1, dirname, NOSTR, NOSTR); return(0); }