summaryrefslogtreecommitdiffstats
path: root/win/tclWinInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-19 12:53:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-19 12:53:53 (GMT)
commitcf557ca4a54a4f8d0ca476e5326675a9ab56f7f9 (patch)
tree94f86d7f71107aab741dee79a1164a71a0ecba0f /win/tclWinInit.c
parent38dc2ca052671f7992d7ad2b33bec6813b128dca (diff)
downloadtcl-cf557ca4a54a4f8d0ca476e5326675a9ab56f7f9.zip
tcl-cf557ca4a54a4f8d0ca476e5326675a9ab56f7f9.tar.gz
tcl-cf557ca4a54a4f8d0ca476e5326675a9ab56f7f9.tar.bz2
Eliminate a lot of dead code (for Windows 95/98/ME only).
Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r--win/tclWinInit.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c
index f552e2c..d82944e 100644
--- a/win/tclWinInit.c
+++ b/win/tclWinInit.c
@@ -486,13 +486,10 @@ TclpSetInitialEncodings(void)
Tcl_DStringFree(&encodingName);
}
-void
-TclpSetInterfaces(void)
+void TclWinSetInterfaces(
+ int dummy) /* Not used. */
{
- int useWide;
-
- useWide = (TclWinGetPlatformId() != VER_PLATFORM_WIN32_WINDOWS);
- TclWinSetInterfaces(useWide);
+ TclpSetInterfaces();
}
const char *