diff options
Diffstat (limited to 'usr.bin/talk/look_up.c')
-rw-r--r-- | usr.bin/talk/look_up.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/talk/look_up.c b/usr.bin/talk/look_up.c index 3c6f3ed..d251e1c 100644 --- a/usr.bin/talk/look_up.c +++ b/usr.bin/talk/look_up.c @@ -31,18 +31,20 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint -#if 0 -static char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ -#include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <protocols/talkd.h> + +#include <errno.h> + #include "talk_ctl.h" #include "talk.h" @@ -53,7 +55,7 @@ int check_local() { CTL_RESPONSE response; - register CTL_RESPONSE *rp = &response; + CTL_RESPONSE *rp = &response; /* the rest of msg was set up in get_names */ #ifdef MSG_EOR @@ -103,8 +105,6 @@ int 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 */ |