summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordas <das>2008-03-19 16:57:21 (GMT)
committerdas <das>2008-03-19 16:57:21 (GMT)
commita41be574d71eae4b6fcfe7845fdab8b395b0a82e (patch)
tree48343c87f1f71353b3279d9a84afafef69335a0a /generic/ttk
parent9b42a60edca63854c20fc62ffa51bb8dc2467293 (diff)
downloadtk-a41be574d71eae4b6fcfe7845fdab8b395b0a82e.zip
tk-a41be574d71eae4b6fcfe7845fdab8b395b0a82e.tar.gz
tk-a41be574d71eae4b6fcfe7845fdab8b395b0a82e.tar.bz2
ensure symbols needed for Ttk stub support are exported
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkStubLib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/ttk/ttkStubLib.c b/generic/ttk/ttkStubLib.c
index a693fcf..697107a 100644
--- a/generic/ttk/ttkStubLib.c
+++ b/generic/ttk/ttkStubLib.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkStubLib.c,v 1.2 2006/11/03 03:06:22 das Exp $
+ * $Id: ttkStubLib.c,v 1.3 2008/03/19 16:57:22 das Exp $
* SOURCE: tk/generic/tkStubLib.c, version 1.9 2004/03/17
*/
@@ -8,8 +8,7 @@
#define USE_TTK_STUBS 1
#include "ttkTheme.h"
-MODULE_SCOPE const TtkStubs *ttkStubsPtr;
-const TtkStubs *ttkStubsPtr;
+const TtkStubs *ttkStubsPtr = NULL;
/*
*----------------------------------------------------------------------
@@ -26,7 +25,7 @@ const TtkStubs *ttkStubsPtr;
* Sets the stub table pointer.
*
*/
-MODULE_SCOPE const char *
+const char *
TtkInitializeStubs(
Tcl_Interp *interp, const char *version, int epoch, int revision)
{