summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/hunt.h
Commit message (Collapse)AuthorAgeFilesLines
* Use bool (not int) for a boolean return type.dholland2014-03-301-2/+2
|
* Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.dholland2014-03-301-2/+2
| | | | Fix two semi-compensating size bugs in wire transmission affecting 64-bit machines.
* Remove all the conditional compilation for INTERNET. Now you can rundholland2014-03-301-10/+1
| | | | | | | this on either a local or internet socket (including via inetd on either) and it will, or is supposed to, DTRT. Does not really support ipv6 yet, but in a number of places will no longer vomit or exhibit UB if it encounters an ipv6 address.
* Clean up the names of the various pieces of socket apparatus.dholland2014-03-301-2/+3
| | | Systematic naming is easier to follow...
* Reduce ifdefs by making a common function to talk to either syslogd ordholland2014-03-291-4/+4
| | | stderr.
* Additional minor cleanup and remove a straggler data declarationdholland2014-03-291-3/+6
| | | from hunt_common.h.
* Group function declarations by which source file they come from, anddholland2014-03-291-28/+36
| | | delete several that don't actually exist.
* sprinkle staticdholland2014-03-291-15/+2
|
* Split hunt and huntd's includes, instead of incestuously sharing a piledholland2014-03-291-233/+2
| | | | | | | | | | | | of external data and function declarations between the two programs. Common constants and defines now go in hunt_common.h. Stuff that belongs only to hunt is in hunt/hunt_private.h. Stuff that belongs only to huntd is in huntd/hunt.h. Copy some declarations that are used in both programs under the same names (but are not actually the same objects) from huntd/hunt.h to hunt/hunt_private.h. Move others that are only used in hunt. Remove some entirely unused material, and tidy up standard includes.
* Remove empty header file.dholland2014-03-291-3/+1
|
* Make the code for issuing talk requests to find players actually build.dholland2014-03-291-2/+2
|
* don't declare own boolean typedholland2014-03-291-13/+8
|
* sprinkle static and prune some dead codedholland2009-08-121-17/+1
|
* Remove config options for 4.2BSD and 4.3BSD, and associated code. Highlydholland2009-07-041-8/+1
| | | obsolete, and I doubt most of it still worked anyway.
* Remove the non-curses screen handling, since it relies on knowingdholland2009-07-041-7/+2
| | | | | about various internals of SVR4 curses, old BSD curses, and/or other unclean things. (Yes, the non-curses handling still used bits of curses. Fie.)
* Remove config for the return type of signal handlers, which is also adholland2009-07-041-8/+8
| | | long-dead issue.
* Whitespace.dholland2009-07-041-384/+389
|
* Sigh, more of the same (missed two)dholland2009-07-041-3/+3
|
* __attribute__((__noreturn__)) -> __deaddholland2009-07-041-5/+5
|
* clean for WARNS=4dholland2008-01-281-7/+7
|
* Mark unused parameters, nonreturning functions and format functions injsm2004-02-081-6/+6
| | | the few cases not already marked.
* Remove uses of __P.jsm2004-01-271-65/+65
|
* Make build.wiz2003-06-111-1/+2
|
* Merge with v20030416.wiz2003-06-111-6/+31
|
* select() -> poll()mycroft2002-09-201-4/+5
| | | Also, turn off talk announcements; it's a wretched hack.
* Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We getmycroft2000-01-211-2/+2
| | | the correct definition from errno.h.
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-2/+2
|
* remove unneeded typedef for TTYB, as per PR#5867hubertf1998-09-111-2/+1
|
* RCS Id Police.perry1998-01-091-0/+2
|
* Yet Another Monster Commit:lukem1997-10-101-12/+65
| | | | | | | | | | | - 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 version 1993-07-17mrg1997-10-041-0/+400