summaryrefslogtreecommitdiffstats
path: root/generic/tclEnv.c
diff options
context:
space:
mode:
authordas <das@noemail.net>2006-10-31 22:25:03 (GMT)
committerdas <das@noemail.net>2006-10-31 22:25:03 (GMT)
commitfdd965329486164718732a3368e3350e8619a83a (patch)
tree0904ad827a0d4d3fc27cb9f00244e9084698f039 /generic/tclEnv.c
parent937955fe1bf1deee4aae7282e4031187f7bfed2f (diff)
downloadtcl-fdd965329486164718732a3368e3350e8619a83a.zip
tcl-fdd965329486164718732a3368e3350e8619a83a.tar.gz
tcl-fdd965329486164718732a3368e3350e8619a83a.tar.bz2
* generic/tclEnv.c (Darwin): mark _environ symbol as unexported.
FossilOrigin-Name: b57dd06aba6766b6df998666984e728067ea9590
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