summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-07-31 04:20:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-07-31 04:20:18 (GMT)
commitf02960739692cea710d87f40a460c9564e8cc10c (patch)
tree6d47f64b65ea82463719e36bff953f4eac240361
parent1ed107a6e561cb329e268c10817cb222f0e7ca28 (diff)
downloadtk-f02960739692cea710d87f40a460c9564e8cc10c.zip
tk-f02960739692cea710d87f40a460c9564e8cc10c.tar.gz
tk-f02960739692cea710d87f40a460c9564e8cc10c.tar.bz2
* generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheck
declaration to fix inability to embed non-stub-enabled Tk on Windows.
-rw-r--r--ChangeLog5
-rw-r--r--generic/tk.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f6cbfa6..20a8877 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-31 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheck
+ declaration to fix inability to embed non-stub-enabled Tk on Windows.
+
2008-07-26 Pat Thoyts <patthoyts@users.sourceforge.net>
* doc/options.n: Direct to the font manual for -font [Bug 1686012]
diff --git a/generic/tk.h b/generic/tk.h
index 5958936..3a8fb75 100644
--- a/generic/tk.h
+++ b/generic/tk.h
@@ -12,7 +12,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.h,v 1.109.2.2 2008/06/30 03:37:37 dgp Exp $
+ * RCS: @(#) $Id: tk.h,v 1.109.2.3 2008/07/31 04:20:20 dgp Exp $
*/
#ifndef _TK
@@ -1486,7 +1486,7 @@ typedef struct Tk_ElementSpec {
const char * Tk_InitStubs _ANSI_ARGS_((Tcl_Interp *interp,
const char *version, int exact));
-const char * Tk_PkgInitStubsCheck _ANSI_ARGS_((Tcl_Interp *interp,
+EXTERN const char * Tk_PkgInitStubsCheck _ANSI_ARGS_((Tcl_Interp *interp,
const char *version, int exact));
#ifndef USE_TK_STUBS