Commit Graph

28 Commits

Author SHA1 Message Date
Alfred Perlstein
a82bbc730e Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
2002-05-28 17:03:12 +00:00
Kris Kennaway
556fc0b7e4 Quiet some format string warnings by marking prototypes with
__printflike()

MFC After:	1 week
2002-05-28 06:12:31 +00:00
Bruce Evans
c1e954d14a Don't declare our own common version of the library variable `ospeed'.
Include <termcap.h> to get its declaration.  Our initialization of it
is still dubious, but it agrees with ncurses' documentation of it
(none) and with ncurses' recently fixed internals for it (old speeds
from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
2002-02-02 09:50:45 +00:00
Dima Dorfman
70d51341bf mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
Ruslan Ermilov
e5b5c66bca - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
Ruslan Ermilov
1c011f20f6 Set the default manual section for games/ to 6. 2001-03-20 18:08:43 +00:00
Tim Vanderhoek
f1efd59d2d Don't segv if bs or bc aren't defined in termcap's entry. Misc cleanup.
Fix `|' -> `||'.  Use usleep() instead of delay loop.  Etc.

Submitted by:	Andrew <[3]andrew@ugh.net.au> (bin/8501)
2000-05-21 17:44:33 +00:00
Bill Fumerola
0e5a7be513 1. Don't overwrite scorefiles if they already exist.
PR:		bin/13068
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>

2. Sprinkle $FreeBSD$ around.
1999-12-10 21:13:42 +00:00
Bill Fumerola
7b216475bf copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
Bill Fumerola
727bf60729 Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
Bill Fumerola
879099e556 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
Bruce Evans
f9f5cfd4dd Attempt to fix world breakage for the NOSHARED=yes case. baudrate()
is in both snake and libncurses, and the elf static linker can't handle
the duplication.
1999-09-04 14:39:19 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Nik Clayton
077e7b24bc Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:30:45 +00:00
Warner Losh
0e49c54852 Getopt(3) returns -1, not EOF. 1999-05-23 23:17:28 +00:00
John Birrell
39c469541a Add #include string.h to get prototypes. 1998-05-09 10:23:10 +00:00
John Birrell
a0acd2442a Change long variable to time_t because it passed to time() and ctime(). 1998-05-09 10:21:24 +00:00
Andrey A. Chernov
2e210bcd36 Convert to random() 1997-09-24 23:33:25 +00:00
Andrey A. Chernov
9aa77f1339 Simplify revoke 1997-09-24 09:24:10 +00:00
Andrey A. Chernov
1ed24bcde4 Beforeinstall scores and log file to prevent them owned by
first who run snake
snake.c: cleanup, use srandomdev() now, fix created file permissions
1997-09-24 02:34:53 +00:00
Andrey A. Chernov
0e257512d8 Remove revoke privs, not needed 1997-09-16 01:22:47 +00:00
Andrey A. Chernov
a292598d51 Remove HIDEGAME, it is not a game 1997-09-16 01:19:26 +00:00
Eivind Eklund
34a13bf4cb 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
Mike Pritchard
097d42f425 Correct some man page cross references and some file
locations.
1996-02-05 17:32:16 +00:00
Mike Pritchard
5ea43fd200 Add some missing manual page links. 1996-02-02 17:48:46 +00:00
Rodney W. Grimes
010f5413b5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
Rodney W. Grimes
0e58d91938 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
Jordan K. Hubbard
554eb505f8 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