Commit Graph

27 Commits

Author SHA1 Message Date
dholland 277bd0756c WARNS=5, and make WARNS=5 the default for src/games. 2012-06-19 05:46:08 +00:00
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
dholland fe14252156 remove unnecessary casts 2009-08-27 00:21:45 +00:00
dholland c62bf84c55 sprinkle static 2009-08-12 04:28:27 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
dsl 49f7d8a9b1 Add (unsigned char) cast to ctype functions 2004-11-05 21:30:31 +00:00
jsm cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
agc e5aeb4ea46 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
hubertf 8b821e52a3 The game would show the statistic info and immediately prompt you with a new
question, so you lose time, etc. Added a few lines so that it prompts to
press the RETURN key to continue.

Code contributed by Vic Hari <vkhr@rawsocket.net> in PR 16135
2002-03-31 04:07:22 +00:00
cgd 668a4dd967 convert to use getprogname() 2001-02-19 22:39:39 +00:00
christos 57bae04512 fix nested extern 2001-02-05 00:20:58 +00:00
mycroft f9eca6973d Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
simonb 48a5c3efa9 Don't declare 'extern opt*' getopt variables. 2000-04-14 05:58:01 +00:00
hubertf dceb24647b This patch (a) makes arithmetic(6) revoke any setgid privileges it got
from dm; (b) marks an unused parameter as such.

Submitted in PR 8014 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-17 19:11:30 +00:00
hubertf 4e4187282a constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-14 09:13:46 +00:00
hubertf 1c9494f62b mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
perry 75a6e03535 change includes to fix compiler warning 1998-02-03 04:55:59 +00:00
is 2aac887316 Make compiler happy. 1997-10-15 08:53:24 +00:00
lukem 3e66e4150c getopt returns -1 not EOF 1997-10-10 11:49:44 +00:00
lukem ff14dd5a30 KNFify, WARNSify, use errx(), clean up .Nm in manpage 1997-10-09 23:07:00 +00:00
jtc 04b0ab5344 Be pedantic, main() returns int in Standard C. 1996-03-21 18:30:19 +00:00
cgd 1d8bbe81a9 clean up import. 1995-03-21 11:59:28 +00:00
jtc e6371e01f3 change <sys/signal.h> to <signal.h> 1995-02-28 18:30:59 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft 11a76ec00f Cleanup for GCC 2. 1993-04-18 20:50:22 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00