Make some arrays const.

This commit is contained in:
Piotr Fusik
2017-06-28 20:43:31 +02:00
parent 4cf7ee1dba
commit b31ae57be1
18 changed files with 87 additions and 90 deletions

View File

@@ -211,7 +211,7 @@ void DbgInfoFile (void)
void DbgInfoFunc (void)
/* Parse and handle func subcommand of the .dbg pseudo instruction */
{
static const char* StorageKeys[] = {
static const char* const StorageKeys[] = {
"EXTERN",
"STATIC",
};
@@ -352,7 +352,7 @@ void DbgInfoLine (void)
void DbgInfoSym (void)
/* Parse and handle SYM subcommand of the .dbg pseudo instruction */
{
static const char* StorageKeys[] = {
static const char* const StorageKeys[] = {
"AUTO",
"EXTERN",
"REGISTER",