summaryrefslogtreecommitdiffstats
path: root/backgammon/teachgammon/teach.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
* 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-131-4/+9
|
* rename text() to wrtext(), aligning it with most other output routines,mrg2010-03-221-15/+15
| | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
* sprinkle staticdholland2009-08-121-4/+4
|
* 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
|
* KNF and WARNS=3 fixesjmc2005-07-011-6/+4
|
* 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.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* 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
|
* 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>
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-101-4/+4
| | | | | | | | | | | | | | 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.
* 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-101-68/+59
|
* Use POSIX tty semantics.mycroft1995-04-291-14/+12
|
* clean up importcgd1995-03-211-7/+12
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+166