Commit Graph

137 Commits

Author SHA1 Message Date
jsm 5fb18dd9da Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.
1999-09-08 21:57:16 +00:00
jsm b03d4fa882 Add `__noreturn__' and `__unused__' attributes where appropriate to
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).
1999-09-08 21:45:25 +00:00
jsm 092d313019 Add use of `const' where appropriate to 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).

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.
1999-09-08 21:17:44 +00:00
simonb e42b2048d4 Convert to something resembling KNF. 1999-08-21 10:40:03 +00:00
simonb e28c422151 Instead of writing out a structure that contains pointers as the header
of the card decks file, just write out the number of cards for each
deck.  Also use "off_t" for offsets into the file (that are stored after
the number of cards) instead of "long".
/usr/share/games/cards.pck is now MI.
1999-08-21 09:23:44 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem b569ddabe9 don't install in /usr/share if NOSHARE is defined 1998-09-29 07:33:20 +00:00
wrstuden aaae79a78d Make the helper programs compile right in a cross-compiling environment. 1998-09-12 19:05:48 +00:00
hubertf e1627357ea use symbolic constants for signals & open(2), as per PR#5867 1998-09-11 13:54:08 +00:00
veego 04afeca685 Add braces to make the new egcs happy. 1998-08-30 09:19:36 +00:00
christos b118ad2218 WARNSify 1997-10-12 17:45:06 +00:00
lukem 4877bdbb3b enable WARNS?=1 by default, & temporarily disable for the few unclean programs 1997-10-12 14:21:44 +00:00
thorpej 20c2907cc6 Allow this to be cross-compiled. 1997-04-19 07:20:13 +00:00
thorpej 365ece4e6a Make these compile on the PowerPC (an unsigned char system). 1997-03-29 20:42:16 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
thorpej 943e25b8bf Use ${INSTALL}. 1996-10-18 02:48:24 +00:00
cgd c4816c32b3 Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
1995-04-24 12:21:37 +00:00
cgd 42fb1b9d4a merge with Lite, new RCS id conventions, etc. 1995-03-23 08:28:00 +00:00
cgd bd51185a18 from Lite 1995-03-21 15:59:39 +00:00
cgd c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
cgd d00b34b8ac fix transposition. from Luke Mewburn <lm@rmit.edu.au> 1994-03-19 08:01:23 +00:00
pk be7657d720 Use .OBJDIR for auxiliary programs. 1994-01-04 21:40:31 +00:00
cgd ed4933867f use LDSTATIC 1993-11-08 04:45:28 +00:00
jtc 941b6d7b19 Fix formatting error. 1993-09-16 17:03:11 +00:00
mycroft 7567e62b0c Nuke `all' dependency. bsd.prog.mk does it, and correctly. 1993-08-10 02:46:49 +00:00
mycroft 039d30ccd4 Tweak for cross-compilation. 1993-08-10 02:44:47 +00:00
jtc 3fc4ca69ee Update our -mandoc manpage with changes from new uunet -man manpage. 1993-08-09 22:18:06 +00:00
mycroft 7bc024bd10 New version from uunet. 1993-08-07 08:27:53 +00:00
jtc 7318acf9eb update to -mandoc macros 1993-08-05 17:13:23 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft f6e43c3958 Use ${COPY}, not -c for install. 1993-07-18 19:17:22 +00:00
mycroft fdafc8ab98 Use POSIX RAND_MAX rather than guessing. 1993-04-19 10:19:41 +00:00
cgd e5864485a1 copy deck of cards, rather than moving it, on install 1993-04-09 09:38:35 +00:00
cgd f620d7d9f6 got rid of unnecessary -lcompat and associated dependency 1993-03-23 02:44:38 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00