summaryrefslogtreecommitdiffstats
path: root/backgammon/teachgammon
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-3/+3
|
* Use PREFIX nowCameron Katri2021-03-281-1/+1
|
* Get all the games compiling for iOSCameron Katri2021-02-221-3/+23
|
* - 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
* fix unused variable warningschristos2013-10-191-5/+2
|
* GC descr and helpm.joerg2013-09-131-10/+2
|
* Remove ifdefs for V7 (as opposed to older) unix.dholland2012-10-131-6/+2
|
* Pass the move info around instead of using it as a global.dholland2012-10-133-17/+23
|
* Crack down on global variables with single-letter names.dholland2012-10-131-17/+18
|
* Use __dead and __printflike instead of __attribute__.dholland2011-08-261-3/+3
|
* rename text() to wrtext(), aligning it with most other output routines,mrg2010-03-223-22/+22
| | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
* sprinkle staticdholland2009-08-124-37/+38
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* It's "its."snj2006-04-241-3/+3
|
* KNF and WARNS=3 fixesjmc2005-07-013-17/+14
|
* Cast last argument of execl to (char *).jsm2005-02-151-3/+3
| | | Reviewed by <hubertf>.
* Mark unused parameters, nonreturning functions and format functions injsm2004-02-081-3/+3
| | | the few cases not already marked.
* Remove uses of __P.jsm2004-01-271-5/+5
|
* Make tutorial text match actual moves. From FreeBSD via OpenBSD.jsm2004-01-011-4/+4
| | | Fixes Debian bug 212478 from Jim W. Jaszewski <grok@sprint.ca>.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-076-41/+17
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* some makefile de-lintinglukem2002-09-181-2/+3
|
* MKfoo=no -> NOfoo=tv2001-12-121-4/+4
|
* Negative exit code cleanup: Replace exit(-x) with exit(x).wiz2001-04-061-3/+3
| | | As seen on tech-userlevel.
* remove redundant declchristos2001-02-051-4/+2
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Adapt to change of "termcap.h".tron1999-08-141-3/+3
|
* Hardcore const poisoninghubertf1999-07-251-4/+4
| | | Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8057
* As in previously sent patches: backgammon(6) does not need setgidhubertf1999-07-191-2/+5
| | | | | games privileges from dm, so should revoke them on startup. Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>
* convert from NOxxx= to MKxxx=no.lukem1999-02-131-2/+2
| | | include <bsd.own.mk> if testing a MKxxx variable.
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-106-78/+78
| | | | | | | | | | | | | | appropriate. It also removes some obsolete, unused code to check the number of users on the system (obsoleted by dm); removes a prototype for an unused function that was removed earlier; and removes a control character from one message that was I think intended to clear the screen on some particular terminal (though I can't find the comment to that effect in any of the BSD source trees I have handy) but no longer serves any useful purpose. From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>. Also contains two more patches, one in teachgammon/tutor.h (by Joseph) and one in common_source/fancy.c (by me).
* Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf1998-09-151-3/+3
| | | David Brownlee.
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* Use symbolic names for signals(!), open(2)-constants, ...hubertf1998-08-291-3/+3
| | | Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
* KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem1997-10-107-459/+494
|
* Back out the .PATH.c changes. The .depend problem (and others)gwr1997-05-081-2/+2
| | | will be fixed using the new .NOPATH make feature instead.
* Use .PATH.c: ...gwr1997-05-061-2/+2
|
* Use POSIX tty semantics.mycroft1995-04-292-20/+18
|
* clean up importcgd1995-03-217-29/+55
|
* need -lcompatcgd1994-05-231-3/+3
|
* Add RCS identifiers.mycroft1993-08-016-6/+12
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* got rid of unnecessary -lcompat and associated dependencycgd1993-03-231-2/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-217-0/+1073