Mercurial > hg > early-roguelike
comparison urogue/memory.c @ 308:13b482bd9e66
Fix a few more miscellaneous compiler warnings.
author | John "Elwin" Edwards |
---|---|
date | Sat, 01 May 2021 09:51:30 -0400 |
parents | e52a8a7ad4c5 |
children |
comparison
equal
deleted
inserted
replaced
307:32bc72dcbf4f | 308:13b482bd9e66 |
---|---|
16 #include "rogue.h" | 16 #include "rogue.h" |
17 | 17 |
18 #ifdef HAVE_CONFIG_H | 18 #ifdef HAVE_CONFIG_H |
19 #include "config.h" | 19 #include "config.h" |
20 #endif | 20 #endif |
21 | |
22 static char sccsid[] = "%W%\t%G%"; | |
23 | 21 |
24 /* Debugging memory allocation code that tries to trap common memory problems | 22 /* Debugging memory allocation code that tries to trap common memory problems |
25 like overwriting storage and stepping on memory pointer chains. If code | 23 like overwriting storage and stepping on memory pointer chains. If code |
26 doesn't use malloc, free, and realloc a lot, these routines can be left in | 24 doesn't use malloc, free, and realloc a lot, these routines can be left in |
27 as added protection against undetected storage bugs. | 25 as added protection against undetected storage bugs. |