Commit Graph

13 Commits

Author SHA1 Message Date
hubertf c7bcded63e The patch below does some minor cleanup of adventure(6): an additional
use of const I missed in bin/6041; avoiding a signed/unsigned warning;
marking an unused parameter as such; revoking setgid privileges
(including the saved gid) rather than setuid ones; includes and
function prototypes in setup.c; the string passed to err() should not
end with a `.'.  Together with the patch sent concerning adventure's
EOF handling, this synchronises adventure(6) in NetBSD with the Linux
port of the NetBSD games.

Via PR 6557 by Joseph Myers <jsm28@cam.ac.uk>
1999-02-10 00:29:21 +00:00
hubertf 006cc8ac96 return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:29:08 +00:00
hubertf dd397c841b remove unused function return values (PR#6079 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:21:36 +00:00
hubertf 4d8c1c95f9 add main() prototype 1998-09-11 14:51:18 +00:00
hubertf 5f3ed2ad7d Kill unused parameters, per PR 6023 by Joseph Myers <jsm28@cam.ac.uk>. 1998-08-24 22:07:37 +00:00
lukem 84f80fd691 KNFify 1997-10-11 01:53:21 +00:00
lukem 434abd72aa deprecate register, fixup .Nm usage 1997-10-10 11:59:26 +00:00
christos 690bee1083 PR/3964: Eric Fischer: Remove dependencies to traditional cpp...
While I was there add WARNS?= too.
1997-08-11 14:06:10 +00:00
mrg ef77d6a3ea oops, use <signal.h> not <sys/signal.h> (tholo@sigmasoft.com) 1996-05-21 21:53:05 +00:00
mrg dd34f9ec6f give up setuid-ness. we don't need it. while i'm here, include
<sys/signal.h> and use SIGINT rather than 2.
1996-05-21 10:48:07 +00:00
jtc 5224609738 Removed "extern int errno"; Added #include <errno.h> if not already present. 1996-02-06 22:47:06 +00:00
cgd 43b952514b clean up RCS ids 1995-03-21 12:04:53 +00:00
jtc 107c0a28c5 adventure(6), from 44lite 1994-10-21 20:51:44 +00:00