summaryrefslogtreecommitdiffstats
path: root/larn/header.h
Commit message (Collapse)AuthorAgeFilesLines
* Both legs of the conditional operator must return the same type.gmcgarry2008-08-291-2/+2
|
* Larn does not need its own private versions of functions from <ctype.h>.dholland2008-02-031-9/+3
| | | Also, remove the function gettokstr(), which is not used. From larn 12.2.
* A long time ago, larn had code to prohibit playing it during work hours.dholland2008-02-031-2/+2
| | | | | | | | | Most of this code was removed ages ago, probably when dm(6) was invented; long before -r1.1 in the NetBSD tree in any event. Now remove the last fragment of it. Also nuke the file of US holidays 1987-1993 that we've been carrying around for no reason.
* Some assorted minor cleanups, from larn 12.2.dholland2008-02-031-3/+3
|
* Since games are (now) setgid, not setuid, it is no longer necessary todholland2008-02-031-2/+2
| | | manipulate the effective uid, only the effective gid.
* Larn now builds with WARNS=4.dholland2008-01-281-10/+13
|
* s/existance/existence/, from Zafer.wiz2006-11-241-2/+2
|
* A preprocessor macro named "srand" was defined which seeded the randomperry2005-02-031-2/+2
| | | | | | | | number generator. Unfortunately, it conflicted with a function of the same defined in stdlib.h. This was masked by the __P hack, which is now being purged. I've renamed "srand" to "seedrand" to eliminate the conflict.
* Don't redefine NULLagc2003-10-211-1/+3
|
* - rename getchar to lgetchar to avoid conflicts with the stdio getcharchristos2001-02-051-2/+2
| | | | - fix redundant decls and nested externs - use snprintf instead of sprintf
* Fix time_t vs. long botch.thorpej1997-10-251-3/+3
|
* Tons of changes; re-indent, use termios, fix warnings, add prototypes...christos1997-10-181-166/+171
| | | Games is almost clean; only hack is left...
* gtime -> gltime to avoid conflict in time.hchristos1997-07-131-2/+2
|
* Make these compile on the PowerPC (an unsigned char system).thorpej1997-03-291-4/+4
|
* oops, we do need privs. do the right seteuid() thing.mrg1996-05-221-1/+4
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-2/+2
| | | | 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-2/+3
|
* Fix various problems with the potion/scroll name hiding mechanism.mycroft1994-10-211-2/+1
|
* Add RCS identifiers, remove some completely useless RCS logs and patchkitmycroft1993-08-021-0/+2
| | | headers, and a few other insignificant changes.
* Don't modify string constants.mycroft1993-04-201-3/+4
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+434