summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordas <das>2008-10-10 04:09:27 (GMT)
committerdas <das>2008-10-10 04:09:27 (GMT)
commit5228c17959dbe7ad564041300de50f178267e99c (patch)
treeac2b6b9f3a637eee84ecf2d87e521e414046611c /generic/tclInt.h
parente4eba0a390e850e2150592a73bc88f1ee408bf99 (diff)
downloadtcl-5228c17959dbe7ad564041300de50f178267e99c.zip
tcl-5228c17959dbe7ad564041300de50f178267e99c.tar.gz
tcl-5228c17959dbe7ad564041300de50f178267e99c.tar.bz2
CONSTify char* DTrace probe arguments
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index d33dd1d..2487b68 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInt.h,v 1.402 2008/10/07 17:57:43 msofer Exp $
+ * RCS: @(#) $Id: tclInt.h,v 1.403 2008/10/10 04:09:27 das Exp $
*/
#ifndef _TCLINT
@@ -3453,7 +3453,10 @@ MODULE_SCOPE unsigned TclHashObjKey(Tcl_HashTable *tablePtr, void *keyPtr);
*/
#ifdef USE_DTRACE
+#ifndef _TCLDTRACE_H
+typedef const char* TclDTraceStr;
#include "tclDTrace.h"
+#endif
#define TCL_DTRACE_OBJ_CREATE(objPtr) TCL_OBJ_CREATE(objPtr)
#define TCL_DTRACE_OBJ_FREE(objPtr) TCL_OBJ_FREE(objPtr)
#else /* USE_DTRACE */