aboutsummaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-04-29 12:43:20 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-04-29 12:43:20 +0000
commitd4f2852fbc4ef3dd705ba312c95288d465513333 (patch)
treec834b9b8cd76b51e5d136f8e55a6f21b3ac421e7 /gcc/prefix.c
parent7200764f6cd4acd841f55393bc908c0ccf81acbe (diff)
downloadgcc-d4f2852fbc4ef3dd705ba312c95288d465513333.zip
gcc-d4f2852fbc4ef3dd705ba312c95288d465513333.tar.gz
gcc-d4f2852fbc4ef3dd705ba312c95288d465513333.tar.bz2
c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
* c-aux-info.c: NULL_PTR->NULL in calls to `concat'. * gcc.c: Likewise. * prefix.c: Likewise. From-SVN: r41675
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index c43e578..7cb2e7b 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);