diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-19 09:55:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-19 09:55:18 (GMT) |
commit | e8469505b13e2af380977e581f42402073a2136f (patch) | |
tree | 047c7883c2e3add51b74078a8e69f0012cc4645c /generic/tkOldConfig.c | |
parent | c8f0062c64f9fc019a92e9bbc8918aa3e4ba1571 (diff) | |
download | tk-e8469505b13e2af380977e581f42402073a2136f.zip tk-e8469505b13e2af380977e581f42402073a2136f.tar.gz tk-e8469505b13e2af380977e581f42402073a2136f.tar.bz2 |
SetOptions.3: minor doc fix
make various other tables CONST
(All backported from Tk 8.6)
Diffstat (limited to 'generic/tkOldConfig.c')
-rw-r--r-- | generic/tkOldConfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c index bbb673f..6c6303d 100644 --- a/generic/tkOldConfig.c +++ b/generic/tkOldConfig.c @@ -44,7 +44,7 @@ static CONST char * FormatConfigValue _ANSI_ARGS_((Tcl_Interp *interp, char *widgRec, char *buffer, Tcl_FreeProc **freeProcPtr)); static Tk_ConfigSpec * GetCachedSpecs _ANSI_ARGS_((Tcl_Interp *interp, - const Tk_ConfigSpec *staticSpecs)); + CONST Tk_ConfigSpec *staticSpecs)); static void DeleteSpecCacheTable _ANSI_ARGS_(( ClientData clientData, Tcl_Interp *interp)); @@ -1074,7 +1074,7 @@ Tk_FreeOptions(specs, widgRec, display, needFlags) static Tk_ConfigSpec * GetCachedSpecs(interp, staticSpecs) Tcl_Interp *interp; /* Interpreter in which to store the cache. */ - const Tk_ConfigSpec *staticSpecs; + CONST Tk_ConfigSpec *staticSpecs; /* Value to cache a copy of; it is also used * as a key into the cache. */ { @@ -1107,7 +1107,7 @@ GetCachedSpecs(interp, staticSpecs) &isNew); if (isNew) { unsigned int entrySpace = sizeof(Tk_ConfigSpec); - const Tk_ConfigSpec *staticSpecPtr; + CONST Tk_ConfigSpec *staticSpecPtr; Tk_ConfigSpec *specPtr; /* |