diff options
-rw-r--r-- | generic/tkColor.c | 2 | ||||
-rw-r--r-- | generic/tkInt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkColor.c b/generic/tkColor.c index 8893dfe..fcc6581 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -817,7 +817,7 @@ Status TkParseColor(display, map, spec, colorPtr) 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 c274236..a6e09ee 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -1217,7 +1217,7 @@ EXTERN int TkpAlwaysShowSelection _ANSI_ARGS_((Tk_Window tkwin)); #define TkParseColor XParseColor #else EXTERN Status TkParseColor _ANSI_ARGS_((Display * display, - Colormap map, _Xconst char* spec, + Colormap map, CONST char* spec, XColor * colorPtr)); #endif |