summaryrefslogtreecommitdiffstats
path: root/generic/tkStubLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkStubLib.c')
-rw-r--r--generic/tkStubLib.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/generic/tkStubLib.c b/generic/tkStubLib.c
index 2d2e995..43721d8 100644
--- a/generic/tkStubLib.c
+++ b/generic/tkStubLib.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: tkStubLib.c,v 1.13 2007/05/03 22:36:11 dkf Exp $
+ * RCS: @(#) $Id: tkStubLib.c,v 1.14 2007/05/16 18:35:20 jenglish Exp $
*/
/*
@@ -47,20 +47,6 @@
#include "tkIntPlatDecls.h"
#include "tkIntXlibDecls.h"
-/*
- * Ensure that Tk_InitStubs is built as an exported symbol. The other stub
- * symbols should be built as non-exported symbols.
- */
-
-#undef TCL_STORAGE_CLASS
-#define TCL_STORAGE_CLASS DLLEXPORT
-
-MODULE_SCOPE TkStubs *tkStubsPtr;
-MODULE_SCOPE TkPlatStubs *tkPlatStubsPtr;
-MODULE_SCOPE TkIntStubs *tkIntStubsPtr;
-MODULE_SCOPE TkIntPlatStubs *tkIntPlatStubsPtr;
-MODULE_SCOPE TkIntXlibStubs *tkIntXlibStubsPtr;
-
TkStubs *tkStubsPtr;
TkPlatStubs *tkPlatStubsPtr;
TkIntStubs *tkIntStubsPtr;
@@ -89,7 +75,7 @@ TkIntXlibStubs *tkIntXlibStubsPtr;
#undef Tk_InitStubs
#endif
-MODULE_SCOPE CONST char *
+CONST char *
Tk_InitStubs(
Tcl_Interp *interp,
CONST char *version,