summaryrefslogtreecommitdiffstats
path: root/generic/tclEnv.c
diff options
context:
space:
mode:
authordas <das>2006-10-31 22:25:04 (GMT)
committerdas <das>2006-10-31 22:25:04 (GMT)
commited964a968a6500b7259058e473c9fda3012a6e4e (patch)
tree0904ad827a0d4d3fc27cb9f00244e9084698f039 /generic/tclEnv.c
parent52dddd067d88e00b741c9bd94d90540cae85dc10 (diff)
downloadtcl-ed964a968a6500b7259058e473c9fda3012a6e4e.zip
tcl-ed964a968a6500b7259058e473c9fda3012a6e4e.tar.gz
tcl-ed964a968a6500b7259058e473c9fda3012a6e4e.tar.bz2
* generic/tclEnv.c (Darwin): mark _environ symbol as unexported.
Diffstat (limited to 'generic/tclEnv.c')
-rw-r--r--generic/tclEnv.c3
1 files changed, 2 insertions, 1 deletions
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