=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/init_disp.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/talk/init_disp.c 2003/06/03 02:56:17 1.16 --- src/usr.bin/talk/init_disp.c 2003/06/10 22:20:52 1.17 *************** *** 1,4 **** ! /* $OpenBSD: init_disp.c,v 1.16 2003/06/03 02:56:17 millert Exp $ */ /* $NetBSD: init_disp.c,v 1.6 1994/12/09 02:14:17 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: init_disp.c,v 1.17 2003/06/10 22:20:52 deraadt Exp $ */ /* $NetBSD: init_disp.c,v 1.6 1994/12/09 02:14:17 jtc Exp $ */ /* *************** *** 34,40 **** #if 0 static char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94"; #endif ! static char rcsid[] = "$OpenBSD: init_disp.c,v 1.16 2003/06/03 02:56:17 millert Exp $"; #endif /* not lint */ /* --- 34,40 ---- #if 0 static char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94"; #endif ! static char rcsid[] = "$OpenBSD: init_disp.c,v 1.17 2003/06/10 22:20:52 deraadt Exp $"; #endif /* not lint */ /* *************** *** 54,60 **** * and build the various windows. */ void ! init_display() { struct sigaction sa; --- 54,60 ---- * and build the various windows. */ void ! init_display(void) { struct sigaction sa; *************** *** 102,108 **** * connection are the three edit characters. */ void ! set_edit_chars() { u_char buf[3]; int cc; --- 102,108 ---- * connection are the three edit characters. */ void ! set_edit_chars(void) { u_char buf[3]; int cc; *************** *** 127,142 **** } void ! sig_sent(dummy) ! int dummy; { quit("Connection closing. Exiting", 0); } void ! sig_winch(dummy) ! int dummy; { gotwinch = 1; --- 127,140 ---- } void ! sig_sent(int dummy) { quit("Connection closing. Exiting", 0); } void ! sig_winch(int dummy) { gotwinch = 1; *************** *** 146,154 **** * All done talking...hang up the phone and reset terminal thingy's */ void ! quit(warning, do_perror) ! char *warning; ! int do_perror; { if (curses_initialized) { --- 144,150 ---- * All done talking...hang up the phone and reset terminal thingy's */ void ! quit(char *warning, int do_perror) { if (curses_initialized) { *************** *** 172,178 **** * If we get SIGWINCH, recompute both window sizes and refresh things. */ void ! resize_display() { struct winsize ws; --- 168,174 ---- * If we get SIGWINCH, recompute both window sizes and refresh things. */ void ! resize_display(void) { struct winsize ws;