summaryrefslogtreecommitdiffstats
path: root/larn/monster.c
Commit message (Collapse)AuthorAgeFilesLines
* - add or adjust /* FALLTHROUGH */ where appropriatemrg2019-02-031-2/+10
| | | | - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
* WARNS=5dholland2012-06-191-52/+33
|
* sprinkle staticdholland2009-08-121-15/+28
|
* Once upon a time, larn 12.0 had functions named getchar() and putchar()dholland2008-02-031-7/+7
| | | | | | | 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.
* Larn does not need its own private versions of functions from <ctype.h>.dholland2008-02-031-2/+3
| | | Also, remove the function gettokstr(), which is not used. From larn 12.2.
* Make a bunch of functions static. Merged from larn 12.2.dholland2008-02-031-5/+9
|
* Larn now builds with WARNS=4.dholland2008-01-281-30/+29
|
* Add gcc printf format checking, and fix the abundant problems this revealed.dholland2008-01-281-4/+4
| | | (It appears that someone sometime thought that you use %d to print a long.)
* Per PR 36185, OKed by martin@mouse2007-04-221-8/+8
|
* Coverity CID 2073: Fix memory leak.christos2006-03-191-2/+4
|
* Coverity CID 999: Prevent NULL deref.christos2006-03-191-3/+4
|
* Remove uses of __P.jsm2004-01-271-3/+3
|
* - rename getchar to lgetchar to avoid conflicts with the stdio getcharchristos2001-02-051-7/+7
| | | | - fix redundant decls and nested externs - use snprintf instead of sprintf
* Add braces to make the new egcs happy.veego1998-08-301-6/+10
|
* Tons of changes; re-indent, use termios, fix warnings, add prototypes...christos1997-10-181-1096/+1610
| | | Games is almost clean; only hack is left...
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-1/+2
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-1/+1
|
* Add RCS identifiers, remove some completely useless RCS logs and patchkitmycroft1993-08-021-0/+4
| | | headers, and a few other insignificant changes.
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+1387