diff options
Diffstat (limited to 'generic')
-rwxr-xr-x[-rw-r--r--] | generic/default.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | generic/tkColor.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | generic/tkMenu.c | 4 | ||||
-rw-r--r-- | generic/tkMenu.h | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/generic/default.h b/generic/default.h index dd4f609..dd4f609 100644..100755 --- a/generic/default.h +++ b/generic/default.h diff --git a/generic/tkColor.c b/generic/tkColor.c index a5a1136..a5a1136 100644..100755 --- a/generic/tkColor.c +++ b/generic/tkColor.c diff --git a/generic/tkMenu.c b/generic/tkMenu.c index c996df8..19031c5 100644..100755 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -101,7 +101,7 @@ TCL_DECLARE_MUTEX(menuMutex) * to update code in TkpMenuInit that changes the font string entry. */ -char *tkMenuStateStrings[] = {"active", "normal", "disabled", (char *) NULL}; +CONST char *tkMenuStateStrings[] = {"active", "normal", "disabled", (char *) NULL}; static CONST char *menuEntryTypeStrings[] = { "cascade", "checkbutton", "command", "radiobutton", "separator", @@ -113,7 +113,7 @@ static CONST char *menuEntryTypeStrings[] = { * It is used with the "enum compound" declaration in tkMenu.h */ -static char *compoundStrings[] = { +static const char *compoundStrings[] = { "bottom", "center", "left", "none", "right", "top", (char *) NULL }; diff --git a/generic/tkMenu.h b/generic/tkMenu.h index 767e3fc..a428d4c 100644 --- a/generic/tkMenu.h +++ b/generic/tkMenu.h @@ -238,7 +238,7 @@ typedef struct TkMenuEntry { * Menu states */ -EXTERN char *tkMenuStateStrings[]; +EXTERN CONST char *tkMenuStateStrings[]; #define ENTRY_ACTIVE 0 #define ENTRY_NORMAL 1 |