summaryrefslogtreecommitdiffstats
path: root/worm/worm.c
Commit message (Collapse)AuthorAgeFilesLines
* Check for failure of malloc() and calloc() at various places in the games.jsm1999-09-091-2/+9
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-3/+3
| | | | | | | | | | | | 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-4/+4
| | | | | | | | | 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.
* Leave ^Z-handling to the system (curses? no idea, at least it works :-),hubertf1999-08-101-24/+2
| | | and don't wait for two seconds when game is over.
* Print score after endwin() so it isn't deleted immediately afterward.hubertf1999-08-081-4/+7
|
* This patch makes worm(6) keep the cursor on the head of the worm.hubertf1999-07-281-2/+5
| | | Submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8103.
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-4/+4
|
* WARNSifylukem1997-10-121-20/+44
|
* Remove incorrect (but unused) definition of baudrate().mycroft1995-04-291-5/+2
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-2/+3
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, fix up Idscgd1995-04-221-7/+13
|
* Restructure a switch to eliminate a compiler warning.mycroft1993-12-031-16/+14
|
* Compare baudrate() with 1200, not B1200.mycroft1993-08-101-2/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+301