summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-02-21 05:38:49 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-02-21 05:38:49 (GMT)
commit7e01e42f0b53133e03584ce4e29a609bdcd6bbab (patch)
tree39ab3432970b615f7695d0479fe8f8136c6390a6
parentfaaad732cb65b6993b4f0fc4826d2283f9ffed26 (diff)
downloadtk-7e01e42f0b53133e03584ce4e29a609bdcd6bbab.zip
tk-7e01e42f0b53133e03584ce4e29a609bdcd6bbab.tar.gz
tk-7e01e42f0b53133e03584ce4e29a609bdcd6bbab.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