server/src/util
Enno Rehling 4e5f1d05ce Be very strict about C standards.
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
..
CMakeLists.txt add a happy test for mt_new. 2017-01-26 17:57:21 +01:00
assert.h add an assert_alloc macro for allocations that cannot fail. 2016-08-29 09:26:49 +01:00
attrib.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
attrib.h Be very strict about C standards. 2017-02-18 21:15:14 +01:00
attrib.test.c kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
base36.c do not call isdigit with a negative value. 2017-02-03 21:19:39 +01:00
base36.h
base36.test.c
bsdstring.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
bsdstring.h
bsdstring.test.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
crmessage.c kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
crmessage.h move static variable cleanup to kernel_done. 2016-09-07 21:22:05 +02:00
dice.c do not call isdigit with a negative value. 2017-02-03 21:19:39 +01:00
encoding.h
event.c kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
event.h trigger_type.read gets a gamedata object 2016-02-24 11:46:54 +01:00
filereader.c continue fixing compilation (gcc/clang) 2017-01-26 18:03:48 +01:00
filereader.h
functions.c fix clang builds 2016-11-18 13:24:50 +01:00
functions.h
functions.test.c
gamedata.c memory leak: gamedata store was not released 2016-03-11 10:31:21 +01:00
gamedata.h BENUTZE Muschel repariert. 2017-02-13 18:48:38 +01:00
gamedata.test.c always free gamedata (this test uses two) 2016-03-11 09:45:39 +01:00
goodies.c kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
goodies.h
language.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
language.h kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
language.test.c eliminate unnecessary strncpy use. 2017-01-26 17:57:21 +01:00
lists.c kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
lists.h fixed: tests that try to create duplicate spells do not spam stderr. 2016-08-29 14:49:31 +01:00
log.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
log.h control log level from command line (with -l, like -v) 2016-07-30 22:46:57 +02:00
log.test.c kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
message.c kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
message.h free configuration data (valgrind calls it still-reachable leaks). 2016-09-07 20:46:41 +02:00
message.test.c add a happy test for mt_new. 2017-01-26 17:57:21 +01:00
mt19937ar.c remove crypto submodule, stea mtrand from it 2016-09-04 10:47:21 +02:00
mtrand.h remove crypto submodule, stea mtrand from it 2016-09-04 10:47:21 +02:00
nrmessage.c make runtests.bat not crash. 2017-01-26 18:06:48 +01:00
nrmessage.h make runtests.bat not crash. 2017-01-26 18:06:48 +01:00
nrmessage_struct.h make runtests.bat not crash. 2017-01-26 18:06:48 +01:00
parser.c do not call isdigit with a negative value. 2017-02-03 21:19:39 +01:00
parser.h continue fixing compilation (gcc/clang) 2017-01-26 18:03:48 +01:00
parser.test.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
password.c remove all password hashing code 2016-07-13 19:10:22 +02:00
password.h Be very strict about C standards. 2017-02-18 21:15:14 +01:00
password.test.c remove all password hashing code 2016-07-13 19:10:22 +02:00
rand.c More PVS-Studio warnings eliminated. 2016-11-23 19:19:04 +01:00
rand.h continue fixing compilation (gcc/clang) 2017-01-26 18:03:48 +01:00
resolve.c read_referernce takes a gamedata object. 2016-02-24 11:53:22 +01:00
resolve.h forward-declare struct gamedata 2016-02-24 11:54:23 +01:00
rng.h rearranging deckchairs on the HMS Random Numbers. 2016-09-04 17:04:41 +01:00
rng.test.c
strings.c fixed: tests that try to create duplicate spells do not spam stderr. 2016-08-29 14:49:31 +01:00
strings.h remove autoconf.h from platform.h, fix lots of includes 2016-11-25 20:15:11 +01:00
strings.test.c
translation.c do not call isdigit with a negative value. 2017-02-03 21:19:39 +01:00
translation.h remove autoconf.h from platform.h, fix lots of includes 2016-11-25 20:15:11 +01:00
umlaut.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
umlaut.h fix memory leak in umlaut.c with reference counting (sad). 2016-09-06 19:57:07 +01:00
umlaut.test.c fix memory leak in umlaut.c with reference counting (sad). 2016-09-06 19:57:07 +01:00
unicode.c fix truncated names that split a utf8 sequence. 2016-11-20 14:50:38 +01:00
unicode.h use memmove, not memcpy. 2016-11-13 15:49:26 +01:00
unicode.test.c Be very strict about C standards. 2017-02-18 21:15:14 +01:00
variant.h Be very strict about C standards. 2017-02-18 21:15:14 +01:00
xml.c move static variable cleanup to kernel_done. 2016-09-07 21:22:05 +02:00
xml.h more stbool.h includes, MSVC has no unlink 2017-01-26 18:05:26 +01:00