summaryrefslogtreecommitdiffstats
path: root/unix/tkAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-16 08:41:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-16 08:41:50 (GMT)
commitc44eec6b68992aec638c2283da7951b7942aab46 (patch)
tree7b5a3e696009fc1cb65437f5474f10d57767f7e0 /unix/tkAppInit.c
parent4a755ae2c40c3164a67508cfdfbba153fe1a900e (diff)
parent82180c0e02b1d5f7e5fa81672d90f741281dbbff (diff)
downloadtk-c44eec6b68992aec638c2283da7951b7942aab46.zip
tk-c44eec6b68992aec638c2283da7951b7942aab46.tar.gz
tk-c44eec6b68992aec638c2283da7951b7942aab46.tar.bz2
Merge 8.5. Some more explicit type-casts.
Diffstat (limited to 'unix/tkAppInit.c')
-rw-r--r--unix/tkAppInit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tkAppInit.c b/unix/tkAppInit.c
index ecd9dfe..712637b 100644
--- a/unix/tkAppInit.c
+++ b/unix/tkAppInit.c
@@ -18,7 +18,13 @@
#include "tkPort.h"
#ifdef TK_TEST
+#ifdef __cplusplus
+extern "C" {
+#endif
extern Tcl_PackageInitProc Tktest_Init;
+#ifdef __cplusplus
+}
+#endif
#endif /* TK_TEST */
/*