summaryrefslogtreecommitdiffstats
path: root/generic/tclEnv.c
diff options
context:
space:
mode:
authordas <das>2006-10-31 22:24:39 (GMT)
committerdas <das>2006-10-31 22:24:39 (GMT)
commit37387d61ef7f0429d0fc459901850838b6935f0d (patch)
treee1661ef8b0037e50d49ad1516252af0d65c3d699 /generic/tclEnv.c
parentf2bac5b1bba338e3beb5b199a8126d4e838b6d82 (diff)
downloadtcl-37387d61ef7f0429d0fc459901850838b6935f0d.zip
tcl-37387d61ef7f0429d0fc459901850838b6935f0d.tar.gz
tcl-37387d61ef7f0429d0fc459901850838b6935f0d.tar.bz2
* unix/tclUnixPort.h: ensure MODULE_SCOPE is defined before use, so
that tclPort.h can once again be included without tclInt.h. * generic/tclEnv.c (Darwin): mark _environ symbol as unexported even when MODULE_SCOPE != __private_extern__.
Diffstat (limited to 'generic/tclEnv.c')
-rw-r--r--generic/tclEnv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEnv.c b/generic/tclEnv.c
index 812c2e4..12f4ab4 100644
--- a/generic/tclEnv.c
+++ b/generic/tclEnv.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEnv.c,v 1.28 2005/11/27 02:33:49 das Exp $
+ * RCS: @(#) $Id: tclEnv.c,v 1.29 2006/10/31 22:24:39 das Exp $
*/
#include "tclInt.h"
@@ -43,7 +43,7 @@ static int environSize = 0; /* Non-zero means that the environ array was
#if defined(__APPLE__) && defined(__DYNAMIC__)
#include <crt_externs.h>
-MODULE_SCOPE char **environ;
+__private_extern__ char **environ;
char **environ = NULL;
#endif