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)
commit81cfe79d65941e4793fdb27ddb7e242fcf4caf00 (patch)
tree39ab3432970b615f7695d0479fe8f8136c6390a6
parent05750b46ee02ad06be61476b42f8a1a8d8a87597 (diff)
downloadtk-81cfe79d65941e4793fdb27ddb7e242fcf4caf00.zip
tk-81cfe79d65941e4793fdb27ddb7e242fcf4caf00.tar.gz
tk-81cfe79d65941e4793fdb27ddb7e242fcf4caf00.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