Commit df2c9a44 by Zack Weinberg Committed by Zack Weinberg

toplev.c: Don't declare environ (it's not used anywhere).

	* toplev.c: Don't declare environ (it's not used anywhere).
	* configure.in: Don't check for declaration of environ.
	* config/i386/xm-mingw32.h: Don't #define environ.
	* config.in, configure: Regenerate.

From-SVN: r48758
parent 5dd8a9b1
2002-01-10 Zack Weinberg <zack@codesourcery.com> 2002-01-10 Zack Weinberg <zack@codesourcery.com>
* toplev.c: Don't declare environ (it's not used anywhere).
* configure.in: Don't check for declaration of environ.
* config/i386/xm-mingw32.h: Don't #define environ.
* config.in, configure: Regenerate.
2002-01-10 Zack Weinberg <zack@codesourcery.com>
* configure.in: Set stage1_cflags for powerpc-*-darwin*. * configure.in: Set stage1_cflags for powerpc-*-darwin*.
* configure: Regenerate. * configure: Regenerate.
......
...@@ -421,9 +421,6 @@ ...@@ -421,9 +421,6 @@
#undef HAVE_DECL_STRSTR #undef HAVE_DECL_STRSTR
/* Define to 1 if we found this declaration otherwise define to 0. */ /* Define to 1 if we found this declaration otherwise define to 0. */
#undef HAVE_DECL_ENVIRON
/* Define to 1 if we found this declaration otherwise define to 0. */
#undef HAVE_DECL_ERRNO #undef HAVE_DECL_ERRNO
/* Define to 1 if we found this declaration otherwise define to 0. */ /* Define to 1 if we found this declaration otherwise define to 0. */
......
...@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#define environ _environ
/* Even though we support "/", allow "\" since everybody tests both. */ /* Even though we support "/", allow "\" since everybody tests both. */
#define DIR_SEPARATOR '\\' #define DIR_SEPARATOR '\\'
#define DIR_SEPARATOR_2 '/' #define DIR_SEPARATOR_2 '/'
......
...@@ -637,7 +637,7 @@ saved_CFLAGS="$CFLAGS" ...@@ -637,7 +637,7 @@ saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include" CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"
gcc_AC_CHECK_DECLS(getenv atol sbrk abort atof getcwd getwd \ gcc_AC_CHECK_DECLS(getenv atol sbrk abort atof getcwd getwd \
strsignal putc_unlocked fputs_unlocked fwrite_unlocked \ strsignal putc_unlocked fputs_unlocked fwrite_unlocked \
fprintf_unlocked strstr environ errno \ fprintf_unlocked strstr errno \
malloc realloc calloc free basename getopt clock, , ,[ malloc realloc calloc free basename getopt clock, , ,[
#include "ansidecl.h" #include "ansidecl.h"
#include "system.h"]) #include "system.h"])
......
...@@ -115,10 +115,6 @@ vms_fopen (fname, type) ...@@ -115,10 +115,6 @@ vms_fopen (fname, type)
#define fopen vms_fopen #define fopen vms_fopen
#endif /* VMS */ #endif /* VMS */
#if defined (HAVE_DECL_ENVIRON) && !HAVE_DECL_ENVIRON
extern char **environ;
#endif
/* Carry information from ASM_DECLARE_OBJECT_NAME /* Carry information from ASM_DECLARE_OBJECT_NAME
to ASM_FINISH_DECLARE_OBJECT. */ to ASM_FINISH_DECLARE_OBJECT. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment