diff options
| author | dgp <dgp@users.sourceforge.net> | 2016-06-16 14:48:35 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2016-06-16 14:48:35 (GMT) |
| commit | f67a341fce27e0e6c8de7ec44c78e7ea0e16c3bd (patch) | |
| tree | 8b3bcb3adb8bd2eb44bcf16bb091722274e03e9e /unix/tclAppInit.c | |
| parent | c755ef08151343eb145710489f8c999edbef15ff (diff) | |
| parent | f3a3f7b9e83c84103bed2043d3671d72d300610c (diff) | |
| download | tcl-f67a341fce27e0e6c8de7ec44c78e7ea0e16c3bd.zip tcl-f67a341fce27e0e6c8de7ec44c78e7ea0e16c3bd.tar.gz tcl-f67a341fce27e0e6c8de7ec44c78e7ea0e16c3bd.tar.bz2 | |
Merge up to the 8.6.0 release.
Diffstat (limited to 'unix/tclAppInit.c')
| -rw-r--r-- | unix/tclAppInit.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c index a74fec8..159bbd8 100644 --- a/unix/tclAppInit.c +++ b/unix/tclAppInit.c @@ -10,10 +10,10 @@ * * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) $Id: tclAppInit.c,v 1.24 2010/09/23 21:40:46 nijtmans Exp $ */ +#undef BUILD_tcl +#undef STATIC_BUILD #include "tcl.h" #ifdef TCL_TEST @@ -35,7 +35,11 @@ extern int Tclxttest_Init(Tcl_Interp *interp); #ifndef TCL_LOCAL_APPINIT #define TCL_LOCAL_APPINIT Tcl_AppInit #endif -extern int TCL_LOCAL_APPINIT(Tcl_Interp *interp); +#ifndef MODULE_SCOPE +# define MODULE_SCOPE extern +#endif +MODULE_SCOPE int TCL_LOCAL_APPINIT(Tcl_Interp *); +MODULE_SCOPE int main(int, char **); /* * The following #if block allows you to change how Tcl finds the startup |
