summaryrefslogtreecommitdiffstats
path: root/sail/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* The game sail(6) has a function Write() which is used both withhubertf1999-02-101-3/+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>.
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* Rename internal move() to move_ship(), as per PR 5841 byhubertf1998-07-251-2/+2
| | | Joseph Myers <jsm@octomino.demon.co.uk>.
* add missing extern to several variables.mrg1998-03-291-10/+10
|
* - make sure that the arguments to the printf like functions are correctchristos1997-10-131-4/+9
| | | - add a makemsg() function to accompany makesignal.
* Warns fixes:christos1997-10-131-23/+145
| | | | | | use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
* Change the riggings to ints, so that comparisons against negativethorpej1997-04-191-5/+5
| | | values works as expected on systems with unsigned chars.
* Sync to 4.4BSD-Lite2tls1997-01-071-0/+3
|
* Import from 4.4BSD-Lite2tls1996-12-281-0/+310