aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/fini.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-11-27 10:13:07 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-11-27 10:13:07 +0000
commita74d78dd51d21fb465e6dd4dc64ee481b22e5a3f (patch)
tree4101a17698912c5bba672c0ea2cef0cccfe0fb9a /gcc/f/fini.c
parent9d483bc4790a0ff069ce5c9ac663a22a29d14bf3 (diff)
downloadgcc-a74d78dd51d21fb465e6dd4dc64ee481b22e5a3f.zip
gcc-a74d78dd51d21fb465e6dd4dc64ee481b22e5a3f.tar.gz
gcc-a74d78dd51d21fb465e6dd4dc64ee481b22e5a3f.tar.bz2
fini.c: Rename variable `spaces' to `xspaces' to avoid conflicting with function...
* fini.c: Rename variable `spaces' to `xspaces' to avoid conflicting with function `spaces' from libiberty. * g77spec.c: Don't prototype libiberty functions. * malloc.c: Likewise. From-SVN: r23933
Diffstat (limited to 'gcc/f/fini.c')
-rw-r--r--gcc/f/fini.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/gcc/f/fini.c b/gcc/f/fini.c
index dc7cb24..a51000b 100644
--- a/gcc/f/fini.c
+++ b/gcc/f/fini.c
@@ -62,7 +62,7 @@ static FILE *out;
static char prefix[32];
static char postfix[32];
static char storage[32];
-static char *spaces[]
+static char *xspaces[]
=
{
"", /* 0 */
@@ -636,7 +636,7 @@ testname (bool nested, int indent, name first, name last)
int numhalf;
assert (!nested || indent >= 2);
- assert (((size_t) indent) + 4 < ARRAY_SIZE (spaces));
+ assert (((size_t) indent) + 4 < ARRAY_SIZE (xspaces));
num = 0;
numhalf = 0;
@@ -654,15 +654,15 @@ testname (bool nested, int indent, name first, name last)
"\
%s{\n\
",
- spaces[indent - 2]);
+ xspaces[indent - 2]);
fprintf (out,
"\
%sif ((c = ffesrc_strcmp_2c (ffe_case_match (), p, \"%s\", \"%s\", \"%s\")) == 0)\n\
%sreturn %s%s%s;\n\
",
- spaces[indent], nhalf->name_uc, nhalf->name_lc, nhalf->name_ic,
- spaces[indent + 2], prefix, nhalf->kwname, postfix);
+ xspaces[indent], nhalf->name_uc, nhalf->name_lc, nhalf->name_ic,
+ xspaces[indent + 2], prefix, nhalf->kwname, postfix);
if (num != 1)
{
@@ -670,14 +670,14 @@ testname (bool nested, int indent, name first, name last)
"\
%selse if (c < 0)\n\
",
- spaces[indent]);
+ xspaces[indent]);
if (numhalf == 0)
fprintf (out,
"\
%s;\n\
",
- spaces[indent + 2]);
+ xspaces[indent + 2]);
else
testname (TRUE, indent + 4, first, nhalf->previous);
@@ -687,7 +687,7 @@ testname (bool nested, int indent, name first, name last)
"\
%selse\n\
",
- spaces[indent]);
+ xspaces[indent]);
testname (TRUE, indent + 4, nhalf->next, last);
}
@@ -698,7 +698,7 @@ testname (bool nested, int indent, name first, name last)
"\
%s}\n\
",
- spaces[indent - 2]);
+ xspaces[indent - 2]);
}
void
@@ -710,7 +710,7 @@ testnames (bool nested, int indent, int len, name first, name last)
int numhalf;
assert (!nested || indent >= 2);
- assert (((size_t) indent) + 4 < ARRAY_SIZE (spaces));
+ assert (((size_t) indent) + 4 < ARRAY_SIZE (xspaces));
num = 0;
numhalf = 0;
@@ -728,15 +728,15 @@ testnames (bool nested, int indent, int len, name first, name last)
"\
%s{\n\
",
- spaces[indent - 2]);
+ xspaces[indent - 2]);
fprintf (out,
"\
%sif ((c = ffesrc_strncmp_2c (ffe_case_match (), p, \"%s\", \"%s\", \"%s\", %d)) == 0)\n\
%sreturn %s%s%s;\n\
",
- spaces[indent], nhalf->name_uc, nhalf->name_lc, nhalf->name_ic,
- len, spaces[indent + 2], prefix, nhalf->kwname, postfix);
+ xspaces[indent], nhalf->name_uc, nhalf->name_lc, nhalf->name_ic,
+ len, xspaces[indent + 2], prefix, nhalf->kwname, postfix);
if (num != 1)
{
@@ -744,14 +744,14 @@ testnames (bool nested, int indent, int len, name first, name last)
"\
%selse if (c < 0)\n\
",
- spaces[indent]);
+ xspaces[indent]);
if (numhalf == 0)
fprintf (out,
"\
%s;\n\
",
- spaces[indent + 2]);
+ xspaces[indent + 2]);
else
testnames (TRUE, indent + 4, len, first, nhalf->previous);
@@ -761,7 +761,7 @@ testnames (bool nested, int indent, int len, name first, name last)
"\
%selse\n\
",
- spaces[indent]);
+ xspaces[indent]);
testnames (TRUE, indent + 4, len, nhalf->next, last);
}
@@ -772,5 +772,5 @@ testnames (bool nested, int indent, int len, name first, name last)
"\
%s}\n\
",
- spaces[indent - 2]);
+ xspaces[indent - 2]);
}