summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-15 09:34:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-15 09:34:38 (GMT)
commitd196dbf0714e7eec761bfd3d644fe0b10120ce28 (patch)
tree433a21ab95a96a8ed5bc6ffe9502b071504a0be8
parent88214c3f7742a696b424ae70adb99b3c1b4722be (diff)
downloadtcl-d196dbf0714e7eec761bfd3d644fe0b10120ce28.zip
tcl-d196dbf0714e7eec761bfd3d644fe0b10120ce28.tar.gz
tcl-d196dbf0714e7eec761bfd3d644fe0b10120ce28.tar.bz2
Two missing "const" designations, in Dtrace configuration
-rw-r--r--generic/tclDTrace.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclDTrace.d b/generic/tclDTrace.d
index 9d1ec13..f5493b1 100644
--- a/generic/tclDTrace.d
+++ b/generic/tclDTrace.d
@@ -173,7 +173,7 @@ provider tcl {
*/
typedef struct Tcl_ObjType {
- char *name;
+ const char *name;
void *freeIntRepProc;
void *dupIntRepProc;
void *updateStringProc;
@@ -184,7 +184,7 @@ struct Tcl_Obj {
int refCount;
char *bytes;
int length;
- Tcl_ObjType *typePtr;
+ const Tcl_ObjType *typePtr;
union {
long longValue;
double doubleValue;