dholland
5dcb186afb
Move game logic out of the file with the curses code.
2015-06-25 05:33:02 +00:00
dholland
01dcf47e23
Abolish the foul practice of including every header in existence via a
...
single central "include.h". Use only headers that are actually needed.
2015-06-19 06:02:31 +00:00
dholland
6b884adb36
woops, more of previous.
2014-03-22 22:33:35 +00:00
dholland
c1bee345de
Make some things unsigned that should be (why would we need e.g. a
...
negative number of airports?) and remove some related bogus casts.
2014-03-22 22:24:21 +00:00
dholland
7a2ed76402
sprinkle static
2009-08-12 04:48:03 +00:00
drochner
432ec04420
if initscr() fails, exit with a message rather than crash in the
...
next curses call
2008-08-08 16:10:47 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
jnemeth
29088d6b12
bracket else block
2006-06-07 09:22:52 +00:00
rpaulo
b0282a1ea0
Pass lint(1).
2005-08-10 17:53:28 +00:00
jmc
4931378a78
KNF and WARNS=3 fixes
2005-07-01 00:48:34 +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
jsm
68603a9d0e
Compare getchar() against EOF, not -1.
1999-09-10 00:16:43 +00:00
hubertf
d8b3f85961
In atc(6), the function getAChar() has BSD and SYSV variants to deal
...
with variations in EINTR behaviour, but the optimisation of using the
BSD version where the SYSV version isn't needed is insignificant.
This patch therefore simplifies the code by making there be just one
version, a more paranoid (about EOF when errno is already EINTR)
version of the SYSV code. Since the BSD/SYSV defines are mainly used
to control whether BSD timers are used, this helps where BSD timers
but SYSV EINTR handling are wanted.
Patch supplied in PR 8091 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-28 02:01:30 +00:00
hubertf
03fc787fb7
This patch marks unused parameters in atc(6) as such.
...
Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-25 00:24:38 +00:00
hubertf
5cfc1e8dc6
This patch makes atc(6) check for memory allocation failure.
...
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056,
with small enhancement to make clearer when loser() is called
with NULL.
1999-07-24 23:58:15 +00:00
hubertf
a9d35e8322
constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
1998-11-10 13:43:30 +00:00
lukem
ca57cf90de
WARNSify
1997-10-10 02:07:01 +00:00
cgd
101657d110
clean up import
1995-03-21 15:03:38 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00