summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/ttkWinMonitor.c1
-rw-r--r--win/ttkWinTheme.c5
-rw-r--r--win/ttkWinXPTheme.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/win/ttkWinMonitor.c b/win/ttkWinMonitor.c
index 2db00b5..0fb362b 100644
--- a/win/ttkWinMonitor.c
+++ b/win/ttkWinMonitor.c
@@ -146,6 +146,7 @@ WndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
MODULE_SCOPE int TtkWinTheme_Init(Tcl_Interp *, HWND hwnd);
MODULE_SCOPE int TtkXPTheme_Init(Tcl_Interp *, HWND hwnd);
+MODULE_SCOPE int Ttk_WinPlatformInit(Tcl_Interp *interp);
MODULE_SCOPE int Ttk_WinPlatformInit(Tcl_Interp *interp)
{
diff --git a/win/ttkWinTheme.c b/win/ttkWinTheme.c
index 4762813..35bde14 100644
--- a/win/ttkWinTheme.c
+++ b/win/ttkWinTheme.c
@@ -794,6 +794,11 @@ TTK_END_LAYOUT_TABLE
MODULE_SCOPE
int TtkWinTheme_Init(
Tcl_Interp *interp,
+ TCL_UNUSED(HWND));
+
+MODULE_SCOPE
+int TtkWinTheme_Init(
+ Tcl_Interp *interp,
TCL_UNUSED(HWND))
{
Ttk_Theme themePtr, parentPtr;
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 0365867..2facf89 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -1290,6 +1290,8 @@ retErr:
* +++ Initialization routine:
*/
+MODULE_SCOPE int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd);
+
MODULE_SCOPE int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd)
{
XPThemeData *themeData;