summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-21 05:38:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-21 05:38:49 (GMT)
commitc6ba2eab38fa4725cd467845a63e5726d6f7f269 (patch)
tree39ab3432970b615f7695d0479fe8f8136c6390a6
parent2f3c553facb9ad9233f289ce48427dd0ff95ac2d (diff)
downloadtk-c6ba2eab38fa4725cd467845a63e5726d6f7f269.zip
tk-c6ba2eab38fa4725cd467845a63e5726d6f7f269.tar.gz
tk-c6ba2eab38fa4725cd467845a63e5726d6f7f269.tar.bz2
_Xconst -> CONST
-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 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