summaryrefslogtreecommitdiffstats
path: root/sail/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix insecure /tmp usage in sail.jsm2000-02-091-2/+4
| | | | | Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
* Use separate definitions and extern declarations of variables ratherjsm1999-12-281-26/+26
| | | than linker commons.
* Fix uses of namespaces reserved by ISO C or POSIX.1.jsm1999-09-301-4/+4
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-2/+2
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* Add use of `const' where appropriate to the games.jsm1999-09-081-24/+24
| | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* 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