Commit Graph

18 Commits

Author SHA1 Message Date
Maxim Konovalov
b5de771b40 o Preserve argv[0] to use it later in usage().
PR:		bin/164570
Submitted by:	Klaus Aehlig
MFC after:	1 week
2012-01-28 15:29:43 +00:00
Ed Maste
f42e89b842 Add -p option to have pom(6) print just the percentage, without extra text.
PR:		bin/51070
Submitted by:	Matt Koivisto mkoivisto sandvine com
MFC after:	1 week
2010-07-15 00:16:04 +00:00
Warner Losh
f5144a270d Remove the third clause for the Berkeley parts of games, per the
letter in /COPYRIGHT.
2010-02-15 18:46:02 +00:00
Xin LI
64c50c6403 Fix build: getopt() returns int so use an integer to get the value. 2010-01-06 00:20:37 +00:00
Edwin Groothuis
6846bee277 Be able to specify a certain date and/or time for which to calculate
the phase of the moon.
While not worlds best improvements, it will help calendar(1) later on.
2010-01-05 21:14:48 +00:00
Stefan Farfeleder
b484917d53 Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere.
PR:	62456
2005-05-01 19:34:22 +00:00
David E. O'Brien
e3c85e0226 Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.
2003-05-05 09:52:25 +00:00
Warner Losh
ad64363769 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
Kris Kennaway
96103aa5a5 Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC after:	1 week
2001-05-20 05:44:03 +00:00
Bill Fumerola
7b216475bf copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
Steve Price
af71cfbb87 Merge a bunch of cleanups from NetBSD.
PR:		8083
Submitted by:	Stephen J. Roznowski <sjr@home.net>
Obtained from:	a whole slew of NetBSD PRs
1999-04-19 03:59:02 +00:00
Warner Losh
2d9f6852dc Y2K fix. Fix by jsm28@cam.ac.uk via OpenBSD 1998-07-26 15:30:48 +00:00
Andrey A. Chernov
9dab7fd713 Remove so-called revoke, this game not installed sguid 1997-09-01 11:22:08 +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
Joerg Wunsch
706b948138 Correctly declare main() as `int'.
Closes PR # bin/1385: /usr/games/pom, invalid de...

Submitted by:	zach@freebsd.gaffaneys.com (Zach Heilig)
1996-07-17 20:13:33 +00:00
Andrey A. Chernov
5233f1c6ed -Wall cleanup
Remove unneded function
1996-05-27 23:11:26 +00:00
Garrett Wollman
656dcd4316 Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +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