diff options
| author | lukem <lukem@NetBSD.org> | 1997-10-10 16:32:15 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 1997-10-10 16:32:15 +0000 |
| commit | 50f99331097302f77db413ba7ad7299d928163eb (patch) | |
| tree | 376410fecfef0c2ac47f5b4f0643e6a84a373cdc /hunt/huntd/talk_ctl.h | |
| parent | a25e10613cc56cac1b954b119f757a272dee9bc8 (diff) | |
| download | bsdgames-darwin-50f99331097302f77db413ba7ad7299d928163eb.tar.gz bsdgames-darwin-50f99331097302f77db413ba7ad7299d928163eb.zip | |
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()
Diffstat (limited to 'hunt/huntd/talk_ctl.h')
| -rw-r--r-- | hunt/huntd/talk_ctl.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <syslog.h> #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 *)); |
