dholland
db2522cfd8
Abolish cgetc(). It contained one line of code, which was wrong.
...
Call getchar() directly, and handle EOF properly instead of looping
(in some cases) or pretending that EOF is 0 (which it isn't).
2009-05-24 23:20:22 +00:00
dholland
61357867d7
Split up lines > 80 chars. Object files unchanged.
2009-05-24 22:55:03 +00:00
dholland
50b862e21c
KNF: brace and comment placement. Object files identical.
2009-05-24 21:44:56 +00:00
dholland
d8016deb30
whitespace
2009-05-24 20:43:09 +00:00
dholland
bf0917b6ae
ANSIfy function declarations. No object file diffs except for two functions
...
whose K&R declaration didn't fully match the prototype (char vs. int) and
the diff of the disassembly of those looks plausible.
2009-05-24 19:18:44 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +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
matt
3233065035
More include additions for exit, abs, strcmp, etc.
2000-07-03 03:57:39 +00:00
jsm
b03d4fa882
Add __noreturn__' and
__unused__' attributes where appropriate to
...
the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
1999-09-08 21:45:25 +00:00
christos
ef383c95e2
Warnsify and remove local implementations of libc functions.
1997-10-12 21:24:24 +00:00
cgd
887dd216b0
clean up import, NetBSD RCS IDs, etc.
1995-04-22 10:58:17 +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