From 8044dc94ffdd371b04635b338f7f1185955102a7 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Fri, 8 Jun 2012 22:11:29 +0000 Subject: function def in front --- generic/tkMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tkMain.c b/generic/tkMain.c index 6b9a393..365e0d1 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -34,6 +34,7 @@ #include "tkMacOSXInt.h" #endif +extern int TkCygwinMainEx(int, char **, Tcl_AppInitProc *, Tcl_Interp *); typedef struct ThreadSpecificData { Tcl_Interp *interp; /* Interpreter for this thread. */ @@ -156,7 +157,6 @@ Tk_MainEx(argc, argv, appInitProc, interp) } #if defined(__WIN32__) && !defined(__WIN64__) && !defined(STATIC_BUILD) - extern int TkCygwinMainEx(int, char **, Tcl_AppInitProc *, Tcl_Interp *); if (tclStubsPtr->reserved9) { /* We are running win32 Tk under Cygwin, so let's check -- cgit v0.12