summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-05-08 12:21:39 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-05-08 12:21:39 (GMT)
commitfe93a4aae815eb2076508da2ad773fa88731e27f (patch)
treeea50a53b65bbd6c55c46d96d261569cd2f6fc017 /tools/genStubs.tcl
parent394914a34e61aec7283ff0d6d3bb4eea91ed09b8 (diff)
downloadtcl-fe93a4aae815eb2076508da2ad773fa88731e27f.zip
tcl-fe93a4aae815eb2076508da2ad773fa88731e27f.tar.gz
tcl-fe93a4aae815eb2076508da2ad773fa88731e27f.tar.bz2
commit mistake reverted to 1.9 contents.
Diffstat (limited to 'tools/genStubs.tcl')
-rw-r--r--tools/genStubs.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index cc353bd..f11739e 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -8,7 +8,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: genStubs.tcl,v 1.10 2002/05/08 12:20:15 davygrvy Exp $
+# RCS: @(#) $Id: genStubs.tcl,v 1.11 2002/05/08 12:21:39 davygrvy Exp $
package require Tcl 8
@@ -348,7 +348,7 @@ proc genStubs::makeDecl {name decl index} {
lassign $decl rtype fname args
append text "/* $index */\n"
- set line "TCL_EXTERN($rtype)"
+ set line "EXTERN $rtype"
set count [expr {2 - ([string length $line] / 8)}]
append line [string range "\t\t\t" 0 $count]
set pad [expr {24 - [string length $line]}]