summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2008-03-21 21:49:10 (GMT)
committerjenglish <jenglish@flightlab.com>2008-03-21 21:49:10 (GMT)
commitaaf798083f7605166430807208c76d402e6f9779 (patch)
tree1da6709ac8affe22c275800bb928f277f740d811 /generic
parent8365f49c5961e46f2789d02b9fc8ce444b9bfc24 (diff)
downloadtk-aaf798083f7605166430807208c76d402e6f9779.zip
tk-aaf798083f7605166430807208c76d402e6f9779.tar.gz
tk-aaf798083f7605166430807208c76d402e6f9779.tar.bz2
Keep ttkStubLib.o in libtkstub instead of libtk. [Bug 1920030]
Diffstat (limited to 'generic')
-rw-r--r--generic/tk.decls11
-rw-r--r--generic/ttk/ttkStubLib.c7
2 files changed, 6 insertions, 12 deletions
diff --git a/generic/tk.decls b/generic/tk.decls
index 12f4afa..050742c 100644
--- a/generic/tk.decls
+++ b/generic/tk.decls
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tk.decls,v 1.36 2008/03/19 16:57:21 das Exp $
+# RCS: @(#) $Id: tk.decls,v 1.37 2008/03/21 21:49:12 jenglish Exp $
library tk
@@ -1159,11 +1159,7 @@ export {
}
export {
CONST char *Tk_PkgInitStubsCheck(Tcl_Interp *interp, CONST char *version,
- int exact)
-}
-export {
- const char *TtkInitializeStubs(Tcl_Interp *, const char *version,
- int epoch, int revision)
+ int exact);
}
# Global variables that need to be exported from the tcl shared library.
@@ -1183,6 +1179,3 @@ export {
export {
TkIntXlibStubs *tkIntXlibStubsPtr (fool checkstubs)
}
-export {
- TtkStubs *ttkStubsPtr (fool checkstubs)
-}
diff --git a/generic/ttk/ttkStubLib.c b/generic/ttk/ttkStubLib.c
index 697107a..11b1698 100644
--- a/generic/ttk/ttkStubLib.c
+++ b/generic/ttk/ttkStubLib.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkStubLib.c,v 1.3 2008/03/19 16:57:22 das Exp $
+ * $Id: ttkStubLib.c,v 1.4 2008/03/21 21:49:12 jenglish Exp $
* SOURCE: tk/generic/tkStubLib.c, version 1.9 2004/03/17
*/
@@ -8,7 +8,8 @@
#define USE_TTK_STUBS 1
#include "ttkTheme.h"
-const TtkStubs *ttkStubsPtr = NULL;
+MODULE_SCOPE const TtkStubs *ttkStubsPtr;
+const TtkStubs *ttkStubsPtr;
/*
*----------------------------------------------------------------------
@@ -25,7 +26,7 @@ const TtkStubs *ttkStubsPtr = NULL;
* Sets the stub table pointer.
*
*/
-const char *
+MODULE_SCOPE const char *
TtkInitializeStubs(
Tcl_Interp *interp, const char *version, int epoch, int revision)
{