summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-18/+18
|
* no longer need -Wno-error=implicit-fallthrough. don't provide common symbols ↵mrg2021-04-131-2/+6
| | | | that are in libterminfo now days.
* Get all the games compiling for iOSCameron Katri2021-02-221-9/+8
|
* speed limit 80dholland2020-12-061-3/+8
|
* buffnum is shared between subs.c and fancy.cjoerg2020-04-222-5/+5
|
* convert HAVE_GCC == 7 to HAVE_GCC >= 7.mrg2019-09-291-2/+2
|
* add fallthroughchristos2019-02-181-2/+3
|
* apply -Wno-error=implicit-fallthrough on files that have fallthrumrg2019-02-041-1/+8
| | | comments but are missed by the current checker.
* GC descr and helpm.joerg2013-09-131-15/+2
|
* Pass the move info around instead of using it as a global.dholland2012-10-138-111/+105
|
* Crack down on global variables with single-letter names.dholland2012-10-138-128/+148
|
* Use __dead and __printflike instead of __attribute__.dholland2011-08-262-6/+6
|
* rename text() to wrtext(), aligning it with most other output routines,mrg2010-03-222-5/+5
| | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
* sprinkle staticdholland2009-08-127-52/+64
|
* Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this islukem2008-05-031-2/+2
| | | | a variable that is used by in-tree Makefiles to control behaviour. (MKsomevar variables are generally intended to be controlled by the end-user)
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* Coverity CID 558: && should be obviously ||christos2006-03-221-3/+3
|
* Coverity CID 1230: Remove spurious close().christos2006-03-181-3/+2
|
* Coverity CID 1294: Avoid negative variable used as index.christos2006-03-181-3/+4
|
* Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT.simonb2006-02-251-5/+2
|
* KNF and WARNS=3 fixesjmc2005-07-0110-145/+128
|
* s/the the/the/ (only in sources that aren't regularly imported fromsimonb2004-04-231-3/+3
| | | elsewhere).
* Remove uses of __P.jsm2004-01-271-55/+55
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0711-76/+32
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* some makefile de-lintinglukem2002-09-181-5/+5
|
* MKfoo=no -> NOfoo=tv2001-12-121-10/+8
|
* update after change to return value of tputs() third argumentlukem1999-10-042-5/+6
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-3/+3
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* This patch fixes a remaining relic of the backgammon(6) "executehubertf1999-07-281-3/+3
| | | | | saved game to continue playing" problem described in bin/6077. Patch contributed by Joseph Myers <jsm28@cam.ac.uk> in PR 8092.
* This patch adds to backgammon(6) a couple of noreturn attributeshubertf1999-07-261-3/+3
| | | | | missed in bin/6144. Patch submitted in PR 8082 by Joseph Myers <jsm28@cam.ac.uk>
* This patch makes backgammon(6) check that, if you use the -s option tohubertf1999-07-261-3/+7
| | | | | recover a saved game, then you specify a file name. Patch submitted in PR 8081 by Joseph Myers <jsm28@cam.ac.uk>
* This adds a check for memory allocation failure to one place inhubertf1999-07-261-2/+6
| | | | | | | backgammon(6). The use of write(2) for the message may seem odd, but is used in another place in this game. (Actually, a lot of backgammon(6) could do with being substantially cleaned up.) Patch submitted in PR 8080 by Joseph Myers <jsm28@cam.ac.uk>
* set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>lukem1999-03-131-2/+3
|
* convert from NOxxx= to MKxxx=no.lukem1999-02-131-3/+3
| | | include <bsd.own.mk> if testing a MKxxx variable.
* tgetent() handles const correctly in currenthubertf1999-02-101-3/+3
|
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-107-53/+52
| | | | | | | | | | | | | | 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.
* remove x bit from save files (PR#6077)hubertf1998-09-131-3/+3
|
* Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph ↵hubertf1998-09-131-3/+2
| | | | Myers <jsm28@cam.ac.uk>)
* Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-132-18/+4
|
* fix typo, as per PR#5867hubertf1998-09-111-3/+3
|
* Use symbolic names for signals(!), open(2)-constants, ...hubertf1998-08-291-6/+6
| | | Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
* define global vars with `extern' in "back.h", and only define once inlukem1997-10-142-50/+84
| | | init.c... backgammon works again...
* use <termcap.h>lukem1997-10-142-9/+4
|
* common_source -> common, and GC some garbage variables.mycroft1997-10-111-4/+2
|
* Don't install this library, we only need this during the build.veego1997-10-111-1/+4
|
* KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem1997-10-1013-1858/+1206
|
* Use POSIX tty semantics.mycroft1995-04-296-29/+25
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-243-6/+9
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up importcgd1995-03-2112-48/+104
|