diff options
author | dkf <dkf@noemail.net> | 2008-04-27 22:38:54 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2008-04-27 22:38:54 (GMT) |
commit | ae338bbeea98addb9f11824490f3d2d673b75c05 (patch) | |
tree | 681f7c2354a3726da3ab7da646d316c1275f540d /generic/tkVisual.c | |
parent | e0acfa8386e0798e8ccb4e844a722a3b34f743f7 (diff) | |
download | tk-ae338bbeea98addb9f11824490f3d2d673b75c05.zip tk-ae338bbeea98addb9f11824490f3d2d673b75c05.tar.gz tk-ae338bbeea98addb9f11824490f3d2d673b75c05.tar.bz2 |
Get rid of pre-C89-isms (esp. CONST vs const).
FossilOrigin-Name: ddfd8bb6f7ecfa71a218a5dc88075a419e3e1d5c
Diffstat (limited to 'generic/tkVisual.c')
-rw-r--r-- | generic/tkVisual.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkVisual.c b/generic/tkVisual.c index 1b880d1..e0e100a 100644 --- a/generic/tkVisual.c +++ b/generic/tkVisual.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkVisual.c,v 1.10 2007/12/13 15:24:21 dgp Exp $ + * RCS: @(#) $Id: tkVisual.c,v 1.11 2008/04/27 22:38:58 dkf Exp $ */ #include "tkInt.h" @@ -88,7 +88,7 @@ Visual * Tk_GetVisual( Tcl_Interp *interp, /* Interpreter to use for error reporting. */ Tk_Window tkwin, /* Window in which visual will be used. */ - CONST char *string, /* String describing visual. See manual entry + const char *string, /* String describing visual. See manual entry * for details. */ int *depthPtr, /* The depth of the returned visual is stored * here. */ @@ -103,7 +103,7 @@ Tk_GetVisual( Visual *visual; ptrdiff_t length; int c, numVisuals, prio, bestPrio, i; - CONST char *p; + const char *p; VisualDictionary *dictPtr; TkColormap *cmapPtr; TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr; @@ -368,7 +368,7 @@ Colormap Tk_GetColormap( Tcl_Interp *interp, /* Interpreter to use for error reporting. */ Tk_Window tkwin, /* Window where colormap will be used. */ - CONST char *string) /* String that identifies colormap: either + const char *string) /* String that identifies colormap: either * "new" or the name of another window. */ { Colormap colormap; |