summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2005-06-07 21:46:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2005-06-07 21:46:08 (GMT)
commit3d9cb3d71e47525ba2c3176b8c64e6133ed9dd75 (patch)
tree862a66f9d58f2b9acc7bb0b43fc6f7f932dcc8a4 /generic/tclProc.c
parentc2e9dac276543c87f90a314405d70427e7a9e642 (diff)
downloadtcl-3d9cb3d71e47525ba2c3176b8c64e6133ed9dd75.zip
tcl-3d9cb3d71e47525ba2c3176b8c64e6133ed9dd75.tar.gz
tcl-3d9cb3d71e47525ba2c3176b8c64e6133ed9dd75.tar.bz2
* generic/tclInt.h: Reduced the Tcl_ObjTypes "index",
* generic/tclIndexObj.c: "enembleCmd", "localVarName", and * generic/tclNamesp.c: "levelReference" to file static scope. * generic/tclProc.c: * generic/tclVar.c:
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index cd53cff..b3d85c4 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.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: tclProc.c,v 1.76 2005/06/02 03:11:37 dgp Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.77 2005/06/07 21:46:18 dgp Exp $
*/
#include "tclInt.h"
@@ -55,7 +55,7 @@ Tcl_ObjType tclProcBodyType = {
* string rep; it's just a cache type.
*/
-Tcl_ObjType tclLevelReferenceType = {
+static Tcl_ObjType levelReferenceType = {
"levelReference",
NULL, NULL, NULL, NULL
};
@@ -650,7 +650,7 @@ TclObjGetFrame(interp, objPtr, framePtrPtr)
result = 1;
curLevel = (iPtr->varFramePtr == NULL) ? 0 : iPtr->varFramePtr->level;
- if (objPtr->typePtr == &tclLevelReferenceType) {
+ if (objPtr->typePtr == &levelReferenceType) {
if ((int) objPtr->internalRep.twoPtrValue.ptr1) {
level = curLevel - (int) objPtr->internalRep.twoPtrValue.ptr2;
} else {
@@ -674,7 +674,7 @@ TclObjGetFrame(interp, objPtr, framePtrPtr)
* Cache for future reference.
*/
TclFreeIntRep(objPtr);
- objPtr->typePtr = &tclLevelReferenceType;
+ objPtr->typePtr = &levelReferenceType;
objPtr->internalRep.twoPtrValue.ptr1 = (VOID *) 0;
objPtr->internalRep.twoPtrValue.ptr2 = (VOID *) level;
} else if (isdigit(UCHAR(*name))) { /* INTL: digit */
@@ -685,7 +685,7 @@ TclObjGetFrame(interp, objPtr, framePtrPtr)
* Cache for future reference.
*/
TclFreeIntRep(objPtr);
- objPtr->typePtr = &tclLevelReferenceType;
+ objPtr->typePtr = &levelReferenceType;
objPtr->internalRep.twoPtrValue.ptr1 = (VOID *) 1;
objPtr->internalRep.twoPtrValue.ptr2 = (VOID *) level;
level = curLevel - level;