summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkColor.c2
-rw-r--r--generic/tkInt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkColor.c b/generic/tkColor.c
index ebfcf22..3705103 100644
--- a/generic/tkColor.c
+++ b/generic/tkColor.c
@@ -806,7 +806,7 @@ Status
TkParseColor(
Display * display, /* The display */
Colormap map, /* Color map */
- _Xconst char* spec, /* String to be parsed */
+ const char* spec, /* String to be parsed */
XColor * colorPtr)
{
if (*spec == '#') {
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 42ef495..b152a7a 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -1183,7 +1183,7 @@ MODULE_SCOPE void TkpGetFontAttrsForChar(Tk_Window tkwin, Tk_Font tkfont,
#define TkParseColor XParseColor
#else
MODULE_SCOPE Status TkParseColor (Display * display,
- Colormap map, _Xconst char* spec,
+ Colormap map, CONST char* spec,
XColor * colorPtr);
#endif