=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/msgs.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/talk/msgs.c 1996/06/26 05:40:25 1.2 --- src/usr.bin/talk/msgs.c 1998/04/28 22:13:30 1.3 *************** *** 1,4 **** ! /* $OpenBSD: msgs.c,v 1.2 1996/06/26 05:40:25 deraadt Exp $ */ /* $NetBSD: msgs.c,v 1.3 1994/12/09 02:14:22 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: msgs.c,v 1.3 1998/04/28 22:13:30 pjanzen Exp $ */ /* $NetBSD: msgs.c,v 1.3 1994/12/09 02:14:22 jtc Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)msgs.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: msgs.c,v 1.2 1996/06/26 05:40:25 deraadt Exp $"; #endif /* not lint */ /* --- 38,44 ---- #if 0 static char sccsid[] = "@(#)msgs.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: msgs.c,v 1.3 1998/04/28 22:13:30 pjanzen Exp $"; #endif /* not lint */ /* *************** *** 46,55 **** * if we are slow connecting. */ #include #include #include - #include "talk.h" #define MSG_INTERVAL 4 --- 46,55 ---- * if we are slow connecting. */ + #include "talk.h" #include #include #include #define MSG_INTERVAL 4 *************** *** 57,67 **** int current_line = 0; void ! disp_msg() { message(current_state); } start_msgs() { struct itimerval itimer; --- 57,69 ---- int current_line = 0; void ! disp_msg(dummy) ! int dummy; { message(current_state); } + void start_msgs() { struct itimerval itimer; *************** *** 73,78 **** --- 75,81 ---- setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); } + void end_msgs() { struct itimerval itimer;