Commit Graph

19 Commits

Author SHA1 Message Date
ed
af1e42f366 Add static keywords to variables and functions where possible in games/.
This allows us to detect unused functions and variables and allows the
compiler to do a better job at optimisation.
2011-11-05 07:18:53 +00:00
imp
7c458552b0 Remove the third clause for the Berkeley parts of games, per the
letter in /COPYRIGHT.
2010-02-15 18:46:02 +00:00
ed
ef9c2d0d56 Use ANSI C function declarations. 2009-12-29 08:43:32 +00:00
ed
7958ef6a18 Make number(6) build with WARNS=6. 2009-10-13 06:25:53 +00:00
ru
cd385f1157 Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 18:22:15 +00:00
bde
2edbbfbff4 Fixed a mispelling of 0 as NULL. 2004-03-14 05:28:29 +00:00
imp
24cd0a3c91 Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
2002-02-18 05:15:19 +00:00
billf
82439631b5 -Wall fixes. 1999-12-12 03:22:37 +00:00
billf
002f485078 copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
marcel
2227cc5c51 Fix breakage by previous commit. 1999-11-16 11:49:21 +00:00
billf
44fac3a89d Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
billf
ecc8d48940 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
jkh
441f3c9dac Wargh! Who went and changed all the getopt() comparisons from -1 to
EOF?  The getopt(3) manpage clearly states that the return value is *-1*,
not EOF!  Besides, getopt(3) isn't reading from a file. :)

Noticed-while:	merging to 2.2 (where this is correct).
1998-03-01 05:10:28 +00:00
steve
7759b26c4b Fix a core dump caused by negative numbers.
PR:		5858
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-02-26 21:13:17 +00:00
ache
4010a61b30 Remove so-called revoke, this game not installed sguid 1997-09-01 11:31:56 +00:00
eivind
d8e95d8c1a Change games from setuid games to setgid games.
Reviewed by:	maybe@yes.no
Obtained from:	OpenBSD (mostly deraadt@openbsd.org)
1997-09-01 00:34:51 +00:00
peter
4f07d6ce62 Merge from Lite2 (oops, nearly forgot these ones) 1997-03-11 17:25:32 +00:00
rgrimes
30ef9631c5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
jkh
d8a265c292 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00