diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-07-21 21:59:03 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-07-21 21:59:03 +0000 |
commit | 2f8dd115d2bf15e3866cbe0b98c73145853681f8 (patch) | |
tree | be763ce5fbb67290826f0a1e1d85a628e5409dca /gcc/protoize.c | |
parent | 565083069d08d22e1c8882948fba1e90dcde1388 (diff) | |
download | gcc-2f8dd115d2bf15e3866cbe0b98c73145853681f8.zip gcc-2f8dd115d2bf15e3866cbe0b98c73145853681f8.tar.gz gcc-2f8dd115d2bf15e3866cbe0b98c73145853681f8.tar.bz2 |
c-lex.c (GET_ENVIRONMENT): Remove.
* c-lex.c (GET_ENVIRONMENT): Remove.
* collect2.c (GET_ENV_PATH_LIST): Remove.
(prefix_from_env): Use GET_ENVIRONMENT.
* cppinit.c (GET_ENV_PATH_LIST): Remove.
(init_standard_includes): Use GET_ENVIRONMENT.
* defaults.h (GET_ENVIRONMENT): Define here if not already.
* gcc.c (GET_ENV_PATH_LIST): Remove.
(make_relative_prefix, process_command): Update.
* protoize.c (GET_ENV_PATH_LIST): Remove.
(do_processing): Update.
java:
* jcf-path.c (GET_ENV_PATH_LIST): Remove.
(jcf_path_init): Use GET_ENVIRONMENT.
From-SVN: r55630
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r-- | gcc/protoize.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c index 98179bc..61d583c 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -128,10 +128,6 @@ static const char * const standard_exec_prefix = STANDARD_EXEC_PREFIX; static const char * const target_machine = DEFAULT_TARGET_MACHINE; static const char * const target_version = DEFAULT_TARGET_VERSION; -#ifndef GET_ENV_PATH_LIST -#define GET_ENV_PATH_LIST(VAR,NAME) do { (VAR) = getenv (NAME); } while (0) -#endif - #endif /* !defined (UNPROTOIZE) */ /* Suffix of aux_info files. */ @@ -4415,7 +4411,7 @@ do_processing () } else { - GET_ENV_PATH_LIST (default_syscalls_dir, "GCC_EXEC_PREFIX"); + GET_ENVIRONMENT (default_syscalls_dir, "GCC_EXEC_PREFIX"); if (!default_syscalls_dir) { default_syscalls_dir = standard_exec_prefix; |