diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-21 05:46:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-21 05:46:53 (GMT) |
commit | 57b1224d0740ffbd5208457481ca421450bd6748 (patch) | |
tree | 85b9484032316df136c49a4163e05ff42fc0e331 /generic | |
parent | 41cc9023c9d8ba470b41666d54cfe4db9bbb5020 (diff) | |
parent | 1884b124718fae2f0fc70fc56a3645d9c918cbb4 (diff) | |
download | tk-57b1224d0740ffbd5208457481ca421450bd6748.zip tk-57b1224d0740ffbd5208457481ca421450bd6748.tar.gz tk-57b1224d0740ffbd5208457481ca421450bd6748.tar.bz2 |
_Xconst -> const
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkColor.c | 2 | ||||
-rw-r--r-- | generic/tkConsole.c | 2 | ||||
-rw-r--r-- | generic/tkInt.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkColor.c b/generic/tkColor.c index db649d3..3bf4857 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -832,7 +832,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/tkConsole.c b/generic/tkConsole.c index a59092e..53f49c1 100644 --- a/generic/tkConsole.c +++ b/generic/tkConsole.c @@ -512,7 +512,7 @@ ConsoleOutput( * Assumption is utf-8 Tcl_Encoding is reliably present. */ - CONST char *bytes + const char *bytes = Tcl_ExternalToUtfDString(utf8, buf, toWrite, &ds); int numBytes = Tcl_DStringLength(&ds); Tcl_Obj *cmd = Tcl_NewStringObj("tk::ConsoleOutput", -1); diff --git a/generic/tkInt.h b/generic/tkInt.h index 4faf908..57157da 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -1215,7 +1215,7 @@ MODULE_SCOPE void TkpWarpPointer(TkDisplay *dispPtr); #define TkParseColor XParseColor #else MODULE_SCOPE Status TkParseColor (Display * display, - Colormap map, _Xconst char* spec, + Colormap map, const char* spec, XColor * colorPtr); #endif |