From 41641da41bb777e1a9d3a347ce6e2847edf5fed2 Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 31 Jul 2008 04:22:09 +0000 Subject: * generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheck declaration to fix inability to embed non-stub-enabled Tk on Windows. --- ChangeLog | 5 +++++ generic/tk.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4b12406..18b0d3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-31 Don Porter + + * 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 * doc/options.n: Direct to the font manual for -font [Bug 1686012] diff --git a/generic/tk.h b/generic/tk.h index a4e8ca7..f9d734e 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.112 2008/06/19 19:48:26 dgp Exp $ + * RCS: @(#) $Id: tk.h,v 1.113 2008/07/31 04:22:09 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 -- cgit v0.12