summaryrefslogtreecommitdiffstats
path: root/sail/dr_4.c
Commit message (Collapse)AuthorAgeFilesLines
* Create some abstraction for sending messages.dholland2009-03-141-4/+4
| | | | | Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
* Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.dholland2009-03-141-3/+4
| | | No functional change.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* remove redundant decls.christos2001-02-051-5/+2
|
* Rationalize inclusion of header files: cut down on `include everythingjwise2001-01-041-3/+3
| | | | everywhere' a little (more to go), and as per KNF, local includes after system includes.
* First half of static-ization of local funcs.jwise2001-01-041-2/+5
|
* ANSIfy in preparation for further work.jwise2001-01-011-6/+4
|
* Change the macro to roll a six-sided die from die() to dieroll() (forjwise2000-11-301-4/+4
| | | obvious reasons of convention).
* The game sail(6) has a function Write() which is used both withhubertf1999-02-101-4/+4
| | | | | | | | | | | | integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability. The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun. Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
* - make sure that the arguments to the printf like functions are correctchristos1997-10-131-4/+4
| | | - add a makemsg() function to accompany makesignal.
* Warns fixes:christos1997-10-131-5/+9
| | | | | | use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
* Sync to 4.4BSD-Lite2tls1997-01-071-4/+4
|
* clean up import, NetBSD RCS IDscgd1995-04-221-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+65