summaryrefslogtreecommitdiffstats
path: root/generic/tk3d.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2008-04-27 22:38:54 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2008-04-27 22:38:54 (GMT)
commit5eebe7e9f7313b33c8d813348f2e13f47b0e25a5 (patch)
tree681f7c2354a3726da3ab7da646d316c1275f540d /generic/tk3d.c
parent9f60d790c709497bf8881a503d03164907d1cecf (diff)
downloadtk-5eebe7e9f7313b33c8d813348f2e13f47b0e25a5.zip
tk-5eebe7e9f7313b33c8d813348f2e13f47b0e25a5.tar.gz
tk-5eebe7e9f7313b33c8d813348f2e13f47b0e25a5.tar.bz2
Get rid of pre-C89-isms (esp. CONST vs const).
Diffstat (limited to 'generic/tk3d.c')
-rw-r--r--generic/tk3d.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tk3d.c b/generic/tk3d.c
index 3922fc8..c36631a 100644
--- a/generic/tk3d.c
+++ b/generic/tk3d.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tk3d.c,v 1.19 2007/12/13 15:24:13 dgp Exp $
+ * RCS: @(#) $Id: tk3d.c,v 1.20 2008/04/27 22:38:55 dkf Exp $
*/
#include "tkInt.h"
@@ -21,7 +21,7 @@
* by Tk_GetReliefFromObj.
*/
-static CONST char *reliefStrings[] = {
+static const char *reliefStrings[] = {
"flat", "groove", "raised", "ridge", "solid", "sunken", NULL
};
@@ -320,7 +320,7 @@ Tk_Draw3DRectangle(
*--------------------------------------------------------------
*/
-CONST char *
+const char *
Tk_NameOf3DBorder(
Tk_3DBorder border) /* Token for border. */
{
@@ -645,7 +645,7 @@ Tk_GetReliefFromObj(
int
Tk_GetRelief(
Tcl_Interp *interp, /* For error messages. */
- CONST char *name, /* Name of a relief type. */
+ const char *name, /* Name of a relief type. */
int *reliefPtr) /* Where to store converted relief. */
{
char c;
@@ -694,7 +694,7 @@ Tk_GetRelief(
*--------------------------------------------------------------
*/
-CONST char *
+const char *
Tk_NameOfRelief(
int relief) /* One of TK_RELIEF_FLAT, TK_RELIEF_RAISED, or
* TK_RELIEF_SUNKEN. */