summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-08 22:11:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-08 22:11:29 (GMT)
commitb9eb35ddebc45ca5424bb3c24d03c3585ba6030f (patch)
tree517d54652dfdec4dbdcadf3791832e45a2f2cf3c
parentfdeacfff80a809cc26b4720c429274a5ed6331b4 (diff)
downloadtk-b9eb35ddebc45ca5424bb3c24d03c3585ba6030f.zip
tk-b9eb35ddebc45ca5424bb3c24d03c3585ba6030f.tar.gz
tk-b9eb35ddebc45ca5424bb3c24d03c3585ba6030f.tar.bz2
function def in front
-rw-r--r--generic/tkMain.c2
1 files changed, 1 insertions, 1 deletions
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