summaryrefslogtreecommitdiffstats
path: root/larn/main.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-3/+3
|
* Get all the games compiling for iOSCameron Katri2021-02-221-0/+2
|
* - add or adjust /* FALLTHROUGH */ where appropriatemrg2019-02-031-2/+4
| | | | - 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-35/+25
|
* sprinkle staticdholland2009-08-121-22/+42
|
* Once upon a time, larn 12.0 had functions named getchar() and putchar()dholland2008-02-031-5/+5
| | | | | | | 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.
* Make a bunch of functions static. Merged from larn 12.2.dholland2008-02-031-3/+5
|
* Since games are (now) setgid, not setuid, it is no longer necessary todholland2008-02-031-6/+6
| | | manipulate the effective uid, only the effective gid.
* Larn now builds with WARNS=4.dholland2008-01-281-22/+21
|
* Add gcc printf format checking, and fix the abundant problems this revealed.dholland2008-01-281-10/+13
| | | (It appears that someone sometime thought that you use %d to print a long.)
* Per PR 36185, OKed by martin@mouse2007-04-221-3/+3
|
* It's "its."snj2006-04-241-3/+3
|
* - rename getchar to lgetchar to avoid conflicts with the stdio getcharchristos2001-02-051-6/+7
| | | | - fix redundant decls and nested externs - use snprintf instead of sprintf
* Converted games to use the new termcap interface.blymn2000-05-221-2/+3
|
* Add braces to make the new egcs happy.veego1998-08-301-6/+9
|
* const poisoning.mycroft1998-07-271-3/+3
|
* fix typo; ryker@openbsd.orgmikel1998-02-121-3/+3
|
* Tons of changes; re-indent, use termios, fix warnings, add prototypes...christos1997-10-181-641/+1070
| | | Games is almost clean; only hack is left...
* gtime -> gltime to avoid conflict in time.hchristos1997-07-131-2/+2
|
* oops, we do need privs. do the right seteuid() thing.mrg1996-05-221-2/+5
|
* give up "games" if we have it. larn does not need it.mrg1996-05-211-1/+2
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-1/+3
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up handling of fortunes a bit.cgd1995-04-221-2/+2
|
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-1/+1
|
* Fix various problems with the potion/scroll name hiding mechanism.mycroft1994-10-211-4/+3
|
* Add RCS identifiers, remove some completely useless RCS logs and patchkitmycroft1993-08-021-0/+4
| | | headers, and a few other insignificant changes.
* Don't modify string constants.mycroft1993-04-201-2/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+878