(svn r17596) -Codechange: constify some tables
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "dbg_helpers.h"
|
||||
|
||||
/** Trackdir & TrackdirBits short names. */
|
||||
static const char *trackdir_names[] = {
|
||||
static const char * const trackdir_names[] = {
|
||||
"NE", "SE", "UE", "LE", "LS", "RS", "rne", "rse",
|
||||
"SW", "NW", "UW", "LW", "LN", "RN", "rsw", "rnw",
|
||||
};
|
||||
@@ -37,7 +37,7 @@ CStrA ValueStr(TrackdirBits td_bits)
|
||||
|
||||
|
||||
/** DiagDirection short names. */
|
||||
static const char *diagdir_names[] = {
|
||||
static const char * const diagdir_names[] = {
|
||||
"NE", "SE", "SW", "NW",
|
||||
};
|
||||
|
||||
@@ -51,7 +51,7 @@ CStrA ValueStr(DiagDirection dd)
|
||||
|
||||
|
||||
/** SignalType short names. */
|
||||
static const char *signal_type_names[] = {
|
||||
static const char * const signal_type_names[] = {
|
||||
"NORMAL", "ENTRY", "EXIT", "COMBO", "PBS", "NOENTRY",
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user