freebsd-dev/games
Ulrich Spörlein 1c9d5fc21b grdc(6): Partial backout of r210755
The previous revision was flawed in numerous ways:
- the if condition would depend on garbage stack values
- grdc(6) would loop n times, not n seconds. This only makes
  a difference if it takes more than 1 second to recalculate/redraw
  the display.
- style(9) violations

The following change adds argument checking and tracks the elapsed time
between loops explicitly and will exit after roughly n seconds.

While here sort headers and remove bogus #ifndef

Submitted by:	bde
MFC after:	2 weeks
2010-08-03 16:02:57 +00:00
..
bcd Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
caesar Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
factor Fix a performance bug in factor(6). 2009-11-26 00:38:13 +00:00
fortune Fix indention of attribution line for some recent additions. 2010-07-30 20:20:14 +00:00
grdc grdc(6): Partial backout of r210755 2010-08-03 16:02:57 +00:00
morse Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
number Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
pom Fix typo in pom(6) manpage 2010-07-30 09:34:40 +00:00
ppt Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
primes Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
random random(6): avoid dead assignments 2010-06-14 13:03:25 +00:00
Makefile Do not build the majority of the games. Remaining are the 2002-10-20 11:18:56 +00:00
Makefile.inc games: make WARNS=6 the default, remove overrides 2010-02-15 14:32:00 +00:00