joerg
4511a017c1
Use __dead
2011-08-29 20:30:36 +00:00
dholland
ae56ae8f3f
Use __dead and __printflike instead of __attribute__.
2011-08-26 06:18:16 +00:00
snj
550147bd6a
Remove 3rd and 4th clauses in christos' license. OK christos.
2009-10-21 01:07:44 +00:00
dholland
f2a20f5fe4
sprinkle static
2009-08-12 08:04:05 +00:00
dholland
591ca18c53
Split some code from moreobj.c into action.c, as per larn 12.2.
2008-02-19 06:05:26 +00:00
dholland
f5334b0815
More assorted cleanup merged from larn 12.2.
2008-02-04 01:07:01 +00:00
dholland
c310e89d2d
Once upon a time, larn 12.0 had functions named getchar() and putchar()
...
that conflicted with libc. We changed them to lgetchar() and xputchar()
respectively; larn 12.2 changed them to ttgetch() and ttputch(). After
reflecting on this for a while I've decided to adopt the larn 12.2
names; not so much for compatibility but for consistency going forward.
So, massrename them. Also make ttputch() static.
2008-02-03 21:24:58 +00:00
dholland
5c10491064
Larn does not need its own private versions of functions from <ctype.h>.
...
Also, remove the function gettokstr(), which is not used. From larn 12.2.
2008-02-03 20:11:04 +00:00
dholland
d7ba3de791
Make a bunch of functions static. Merged from larn 12.2.
2008-02-03 19:20:40 +00:00
dholland
9cc7e27481
Larn now builds with WARNS=4.
2008-01-28 05:38:53 +00:00
dholland
8ce4d17196
Add gcc printf format checking, and fix the abundant problems this revealed.
...
(It appears that someone sometime thought that you use %d to print a long.)
2008-01-28 03:39:30 +00:00
mrg
524d5f27c4
lrint() -> larn_lrint().
2006-05-11 10:23:24 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +00:00
christos
a0d324ea8d
- rename getchar to lgetchar to avoid conflicts with the stdio getchar
...
- fix redundant decls and nested externs
- use snprintf instead of sprintf
2001-02-05 00:57:32 +00:00
lukem
88d3d7c59e
update after change to return value of tputs() third argument
1999-10-04 23:26:59 +00:00
christos
a8fba37dbd
Tons of changes; re-indent, use termios, fix warnings, add prototypes...
...
Games is almost clean; only hack is left...
1997-10-18 20:03:05 +00:00