summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2006-10-31 22:25:04 (GMT)
committerdas <das>2006-10-31 22:25:04 (GMT)
commit05dc17a9876e3f7fedbf33d15d7302fa7a5a278d (patch)
tree0904ad827a0d4d3fc27cb9f00244e9084698f039
parent04f21eae9b2255616098f9c0ca56693ebd21bc5e (diff)
downloadtcl-05dc17a9876e3f7fedbf33d15d7302fa7a5a278d.zip
tcl-05dc17a9876e3f7fedbf33d15d7302fa7a5a278d.tar.gz
tcl-05dc17a9876e3f7fedbf33d15d7302fa7a5a278d.tar.bz2
* generic/tclEnv.c (Darwin): mark _environ symbol as unexported.
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclEnv.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 16bfb58..7c3bc20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-01 Daniel Steffen <das@users.sourceforge.net>
+
+ * generic/tclEnv.c (Darwin): mark _environ symbol as unexported.
+
2006-10-31 Pat Thoyts <patthoyts@users.sourceforge.net>
* rules.vc: Fix bug #1582769 build with VC2003 and correct i386 arch.
diff --git a/generic/tclEnv.c b/generic/tclEnv.c
index 947d397..a7c7c39 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.20.2.2 2005/10/05 08:02:20 hobbs Exp $
+ * RCS: @(#) $Id: tclEnv.c,v 1.20.2.3 2006/10/31 22:25:08 das Exp $
*/
#include "tclInt.h"
@@ -43,6 +43,7 @@ static int environSize = 0; /* Non-zero means that the environ array was
*/
#if defined(__APPLE__) && defined(__DYNAMIC__)
#include <crt_externs.h>
+__private_extern__ char **environ;
char **environ = NULL;
#endif