christos
9cee694b9b
Fix DEBUG build.
2024-04-02 14:24:26 +00:00
andvar
e82c4d9bb4
fix various typos, mainly in comments.
2022-04-04 19:33:44 +00:00
andvar
1cb7819f04
fix various typos in comments.
2021-12-12 22:20:52 +00:00
rillig
1182a44c59
games: remove trailing whitespace in *.c and *.h
2021-05-02 12:50:43 +00:00
mrg
af0a9e8c91
no longer need -Wno-error=implicit-fallthrough.
...
don't provide common symbols that are in libterminfo now days.
2021-04-13 02:11:39 +00:00
dholland
ce47fd40df
speed limit 80
2020-12-06 11:41:47 +00:00
joerg
adc9d2a05f
buffnum is shared between subs.c and fancy.c
2020-04-22 23:36:26 +00:00
mrg
21303c93e9
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
2019-09-29 23:44:58 +00:00
christos
7a986b99ab
add fallthrough
2019-02-18 19:35:44 +00:00
mrg
a5ca97c6e5
apply -Wno-error=implicit-fallthrough on files that have fallthru
...
comments but are missed by the current checker.
2019-02-04 09:51:47 +00:00
mrg
770680b518
- avoid multipling a boolean value, use &&.
2019-02-03 10:45:58 +00:00
mrg
fbffadb9f8
- add or adjust /* FALLTHROUGH */ where appropriate
...
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
2019-02-03 03:19:25 +00:00
dholland
1b8c34b59e
don't declare ospeed; it's in <termcap.h>
2014-03-22 23:10:36 +00:00
christos
193b880fad
fix unused variable warnings
2013-10-19 17:19:30 +00:00
joerg
880491ca90
GC descr and helpm.
2013-09-13 20:46:50 +00:00
dholland
396c97ad03
Add strategic assertion, now passes -Wstrict-overflow.
2012-10-13 19:39:57 +00:00
dholland
bc604cfe52
Remove ifdefs for V7 (as opposed to older) unix.
2012-10-13 19:25:22 +00:00
dholland
4105daf3e6
Pass the move info around instead of using it as a global.
2012-10-13 19:19:38 +00:00
dholland
8733c61f2c
Crack down on global variables with single-letter names.
2012-10-13 18:44:14 +00:00
roy
258cf0abec
Add capfile(5) to describe the termcap format.
...
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
dholland
ae56ae8f3f
Use __dead and __printflike instead of __attribute__.
2011-08-26 06:18:16 +00:00
mrg
5f0f7c9f12
rename text() to wrtext(), aligning it with most other output routines,
...
and avoiding a compile error on powerpc64.
XXX: this tries to make a ".text" symbol, which already exists...
2010-03-22 05:10:19 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
dholland
9795f61a5a
sprinkle static
2009-08-12 05:17:57 +00:00
dholland
24ddf1fdf8
looks as if "ospeed" here was meant to be extern.
2009-08-12 04:51:11 +00:00
lukem
f0bccc0f62
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-21 13:24:38 +00:00
lukem
2fe2731d3f
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 00:52:39 +00:00
lukem
66176dfdff
Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
...
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
dholland
b67b08da79
Pedanticism about time_t (not really a bug, but now it won't show up when
...
audited.)
2008-01-31 05:22:45 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
snj
bf5ceaae16
It's "its."
2006-04-24 18:00:53 +00:00
christos
1990635dbb
Coverity CID 558: && should be obviously ||
2006-03-22 04:22:05 +00:00
christos
c873d1eb57
Coverity CID 1230: Remove spurious close().
2006-03-18 23:25:30 +00:00
christos
e0b976a0ae
Coverity CID 1294: Avoid negative variable used as index.
2006-03-18 23:23:33 +00:00
simonb
5cfbf7bf76
Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT.
2006-02-25 12:04:23 +00:00
wiz
d9f5a9df01
Use standard AUTHORS section header. From YOMURA Masanori in private mail
...
Sort sections if necessary. Use more/better markup.
2005-09-15 02:09:41 +00:00
jmc
fcb317ee49
KNF and WARNS=3 fixes
2005-07-01 01:12:39 +00:00
jsm
b91a81ab9f
Cast last argument of execl to (char *).
...
Reviewed by <hubertf>.
2005-02-15 12:56:20 +00:00
simonb
9bc855a931
s/the the/the/ (only in sources that aren't regularly imported from
...
elsewhere).
2004-04-23 02:58:27 +00:00
jsm
10b61a7cca
Mark unused parameters, nonreturning functions and format functions in
...
the few cases not already marked.
2004-02-08 22:23:50 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +00:00
jsm
540217796b
Only score as a Gammon or a Backgammon if the opponent hasn't removed
...
any pieces, not if the opponent has removed pieces but has had a piece
knocked back to the bar afterwards. Fixes Debian bug 185101 from
Konstantin Seiler <list@kseiler.de>.
2004-01-01 15:59:58 +00:00
jsm
0ea00847c5
Make tutorial text match actual moves. From FreeBSD via OpenBSD.
...
Fixes Debian bug 212478 from Jim W. Jaszewski <grok@sprint.ca>.
2004-01-01 15:59:09 +00:00
agc
e5aeb4ea46
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
wiz
4f5188442b
Grammar and punctuation fixes, from jmc@openbsd.
2003-04-26 21:28:40 +00:00
wiz
c91d8d6b9b
Lots of minor fixes resulting from reading these man pages in detail.
2002-09-26 18:31:58 +00:00
lukem
bcf4617b61
some makefile de-linting
2002-09-18 06:16:39 +00:00
tv
a2291b79c0
MKfoo=no -> NOfoo=
2001-12-12 00:07:45 +00:00
wiz
9fa0b17629
Give initiali[sz]e all the "i"s it deserves.
2001-09-18 18:15:49 +00:00