windows/windCmdNR.c: Lookup() constify call-site (extern data)

This commit is contained in:
Darryl L. Miles 2024-10-10 20:18:19 +01:00 committed by Tim Edwards
parent 586e9f1e36
commit c2d533af3b
2 changed files with 4 additions and 4 deletions

View File

@ -168,7 +168,7 @@ windPauseCmd(w, cmd)
}
char *butTable[] =
const char * const butTable[] =
{
"left",
"middle",
@ -176,7 +176,7 @@ char *butTable[] =
0
};
char *actTable[] =
const char * const actTable[] =
{
"down",
"up",

View File

@ -45,8 +45,8 @@ typedef struct WIND_S3 {
extern MagWindow *windTopWindow;
extern MagWindow *windBottomWindow;
extern clientRec *windFirstClientRec;
extern char *butTable[];
extern char *actTable[];
extern const char * const butTable[];
extern const char * const actTable[];
extern bool windPrintCommands;
/* ----------------- procedures ----------------- */