build fix for NODUMPENUMS and more issue #916

I made more things in dump_enums() static and/or const.  In the
process I discovered both compile problems for NODUMPENUMS and when
fixed, link problems for NODUMPENUMS+ENHANCED_SYMBOLS.

The uft8map.c portion has no changes, just reformatting.
This commit is contained in:
PatR
2022-10-31 15:43:14 -07:00
parent 068b8fde71
commit 1572877429
5 changed files with 64 additions and 50 deletions
+3
View File
@@ -277,6 +277,9 @@
* uncommented to define NODUMPENUMS. Doing so will disable the
* nethack --dumpenums
* command line option.
* Note: the extra memory is also used by when ENHANCED_SYMBOLS is
* defined, so defining both ENHANCED_SYMBOLS and NODUMPENUMS will limit
* the amount of memory and code reduction offered by the latter.
*/
/* #define NODUMPENUMS */