diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-29 12:43:20 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-29 12:43:20 +0000 |
commit | 4e2023c802501ffbadccd034f0a339d39a71d451 (patch) | |
tree | c834b9b8cd76b51e5d136f8e55a6f21b3ac421e7 /gcc/prefix.c | |
parent | fa8ff8b9e7bc7e1b1eb59d32d65ab03b1a575ea4 (diff) | |
download | gcc-4e2023c802501ffbadccd034f0a339d39a71d451.tar.gz |
* c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
* gcc.c: Likewise.
* prefix.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41675 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r-- | gcc/prefix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c index c43e5789d52..7cb2e7b1bef 100644 --- a/gcc/prefix.c +++ b/gcc/prefix.c @@ -96,7 +96,7 @@ get_key_value (key) #endif if (prefix == 0) - prefix = getenv (temp = concat (key, "_ROOT", NULL_PTR)); + prefix = getenv (temp = concat (key, "_ROOT", NULL)); if (prefix == 0) prefix = std_prefix; @@ -273,7 +273,7 @@ translate_name (name) and intended by the user, causing two path components to run together. */ - return concat (prefix, name, NULL_PTR); + return concat (prefix, name, NULL); } /* Update PATH using KEY if PATH starts with PREFIX. */ @@ -286,9 +286,9 @@ update_path (path, key) if (! strncmp (path, std_prefix, strlen (std_prefix)) && key != 0) { if (key[0] != '$') - key = concat ("@", key, NULL_PTR); + key = concat ("@", key, NULL); - path = concat (key, &path[strlen (std_prefix)], NULL_PTR); + path = concat (key, &path[strlen (std_prefix)], NULL); while (path[0] == '@' || path[0] == '$') path = translate_name (path); |