=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/look_up.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/talk/look_up.c 1996/06/26 05:40:24 1.3 --- src/usr.bin/talk/look_up.c 1998/04/28 22:13:29 1.4 *************** *** 1,4 **** ! /* $OpenBSD: look_up.c,v 1.3 1996/06/26 05:40:24 deraadt Exp $ */ /* $NetBSD: look_up.c,v 1.3 1994/12/09 02:14:21 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: look_up.c,v 1.4 1998/04/28 22:13:29 pjanzen Exp $ */ /* $NetBSD: look_up.c,v 1.3 1994/12/09 02:14:21 jtc Exp $ */ /* *************** *** 38,57 **** #if 0 static char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: look_up.c,v 1.3 1996/06/26 05:40:24 deraadt Exp $"; #endif /* not lint */ ! #include ! #include ! #include ! #include #include #include "talk_ctl.h" - #include "talk.h" /* * See if the local daemon has an invitation for us. */ check_local() { CTL_RESPONSE response; --- 38,55 ---- #if 0 static char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: look_up.c,v 1.4 1998/04/28 22:13:29 pjanzen Exp $"; #endif /* not lint */ ! #include "talk.h" #include + #include #include "talk_ctl.h" /* * See if the local daemon has an invitation for us. */ + int check_local() { CTL_RESPONSE response; *************** *** 99,109 **** /* * Look for an invitation on 'machine' */ look_for_invite(rp) CTL_RESPONSE *rp; { - struct in_addr machine_addr; - current_state = "Checking for invitation on caller's machine"; ctl_transact(his_machine_addr, msg, LOOK_UP, rp); /* the switch is for later options, such as multiple invitations */ --- 97,106 ---- /* * Look for an invitation on 'machine' */ + int look_for_invite(rp) CTL_RESPONSE *rp; { current_state = "Checking for invitation on caller's machine"; ctl_transact(his_machine_addr, msg, LOOK_UP, rp); /* the switch is for later options, such as multiple invitations */