summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-21 05:41:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-21 05:41:39 (GMT)
commit1884b124718fae2f0fc70fc56a3645d9c918cbb4 (patch)
tree8e08fa728badad04f75b9ae5eab6ba6b67966192
parent3db9fce4a20b8969cd5c73671c76dd4918d048f9 (diff)
parent81cfe79d65941e4793fdb27ddb7e242fcf4caf00 (diff)
downloadtk-1884b124718fae2f0fc70fc56a3645d9c918cbb4.zip
tk-1884b124718fae2f0fc70fc56a3645d9c918cbb4.tar.gz
tk-1884b124718fae2f0fc70fc56a3645d9c918cbb4.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 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