From 50f99331097302f77db413ba7ad7299d928163eb Mon Sep 17 00:00:00 2001 From: lukem Date: Fri, 10 Oct 1997 16:32:15 +0000 Subject: Yet Another Monster Commit: - WARNSify - getopt returns -1 not EOF - select() uses an fd_set, not int/long; modify code to use FD_* et al instead of direct bitwise operations - in otto.c::look (renamed to ottolook() to prevent name clash), the case WEST section had a 'goto cont_east', instead of 'goto cont_west'. (picked up by WARNS=1, because cont_west was an unused label because of this typo). probably meant that otto got lost in the maze :-/ - deprecate register, convert bcmp() -> memcmp() --- hunt/huntd/talk_ctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hunt/huntd/talk_ctl.h') diff --git a/hunt/huntd/talk_ctl.h b/hunt/huntd/talk_ctl.h index 2b73f820..59071ec3 100644 --- a/hunt/huntd/talk_ctl.h +++ b/hunt/huntd/talk_ctl.h @@ -62,8 +62,6 @@ typedef struct ctl_msg { #include #endif -extern int errno; - extern struct sockaddr_in daemon_addr; extern struct sockaddr_in ctl_addr; extern struct sockaddr_in my_addr; @@ -78,3 +76,5 @@ extern CTL_MSG msg; #else #define p_error(str) perror(str) #endif + +void ctl_transact __P((struct in_addr, CTL_MSG, int, CTL_RESPONSE *)); -- cgit v1.2.3