summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/prefix.c')
-rwxr-xr-xgcc/prefix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index 0281a32..613bdb7 100755
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -95,7 +95,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;
@@ -270,7 +270,7 @@ translate_name (name)
prefix = temp;
}
- return concat (prefix, name, NULL_PTR);
+ return concat (prefix, name, NULL);
}
/* Update PATH using KEY if PATH starts with PREFIX. */
@@ -283,9 +283,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);