=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/script/script.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/usr.bin/script/script.c 2003/06/03 02:56:15 1.18 --- src/usr.bin/script/script.c 2003/06/10 22:20:50 1.19 *************** *** 1,4 **** ! /* $OpenBSD: script.c,v 1.18 2003/06/03 02:56:15 millert Exp $ */ /* $NetBSD: script.c,v 1.3 1994/12/21 08:55:43 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: script.c,v 1.19 2003/06/10 22:20:50 deraadt Exp $ */ /* $NetBSD: script.c,v 1.3 1994/12/21 08:55:43 jtc Exp $ */ /* *************** *** 65,71 **** #if 0 static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: script.c,v 1.18 2003/06/03 02:56:15 millert Exp $"; #endif /* not lint */ #include --- 65,71 ---- #if 0 static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: script.c,v 1.19 2003/06/10 22:20:50 deraadt Exp $"; #endif /* not lint */ #include *************** *** 108,116 **** void handlesigwinch(int); int ! main(argc, argv) ! int argc; ! char *argv[]; { struct sigaction sa; struct termios rtt; --- 108,114 ---- void handlesigwinch(int); int ! main(int argc, char *argv[]) { struct sigaction sa; struct termios rtt; *************** *** 198,205 **** } void ! finish(signo) ! int signo; { int save_errno = errno; int status, e = 1; --- 196,202 ---- } void ! finish(int signo) { int save_errno = errno; int status, e = 1; *************** *** 217,224 **** } void ! handlesigwinch(signo) ! int signo; { int save_errno = errno; struct winsize win; --- 214,220 ---- } void ! handlesigwinch(int signo) { int save_errno = errno; struct winsize win; *************** *** 233,239 **** } void ! dooutput() { struct sigaction sa; struct itimerval value; --- 229,235 ---- } void ! dooutput(void) { struct sigaction sa; struct itimerval value; *************** *** 281,294 **** } void ! scriptflush(signo) ! int signo; { flush = 1; } void ! doshell() { char *shell; --- 277,289 ---- } void ! scriptflush(int signo) { flush = 1; } void ! doshell(void) { char *shell; *************** *** 305,311 **** } void ! fail() { (void)kill(0, SIGTERM); --- 300,306 ---- } void ! fail(void) { (void)kill(0, SIGTERM); *************** *** 313,320 **** } void ! done(eval) ! int eval; { time_t tvec; --- 308,314 ---- } void ! done(int eval) { time_t tvec;