diff options
author | rjohnson <rjohnson> | 1998-08-10 17:18:36 (GMT) |
---|---|---|
committer | rjohnson <rjohnson> | 1998-08-10 17:18:36 (GMT) |
commit | e8528498a5d946c891689b8b82c5aa5f98fa534f (patch) | |
tree | a9793d8e83d2c862a48187a404070bbf7539bf30 /generic/tclNamesp.c | |
parent | 1e3d989cf1bf3698c3eed3b0cda3aa8f4dcdb6c8 (diff) | |
download | tcl-e8528498a5d946c891689b8b82c5aa5f98fa534f.zip tcl-e8528498a5d946c891689b8b82c5aa5f98fa534f.tar.gz tcl-e8528498a5d946c891689b8b82c5aa5f98fa534f.tar.bz2 |
fixed a few code style issues
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r-- | generic/tclNamesp.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 6b0f3e8..3108197 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -33,6 +33,13 @@ #define FIND_ONLY_NS 0x1000 /* + * Initial sise of stack allocated space for tail list - used when resetting + * shadowed command references in the functin: TclResetShadowedCmdRefs. + */ + +#define NUM_TRAIL_ELEMS 5 + +/* * Count of the number of namespaces created. This value is used as a * unique id for each namespace. */ @@ -2206,7 +2213,6 @@ TclResetShadowedCmdRefs(interp, newCmdPtr) * storage if needed. */ -#define NUM_TRAIL_ELEMS 5 Namespace *(trailStorage[NUM_TRAIL_ELEMS]); Namespace **trailPtr = trailStorage; int trailFront = -1; @@ -2300,7 +2306,6 @@ TclResetShadowedCmdRefs(interp, newCmdPtr) if (trailPtr != trailStorage) { ckfree((char *) trailPtr); } -#undef NUM_TRAIL_ELEMS } /* |