aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-aux-info.c
diff options
context:
space:
mode:
authorrms <>1992-07-12 01:56:45 +0000
committerrms <>1992-07-12 01:56:45 +0000
commit4e4d308e87381ca9f953c639d05c045eee60101f (patch)
treee64a8539a9959ca2bf64518552e47818c8b26be2 /gcc/c-aux-info.c
parente8448b231ba3b56b4547d1283a210f170b70080e (diff)
Renamed TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL
to DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL.
Diffstat (limited to 'gcc/c-aux-info.c')
-rw-r--r--gcc/c-aux-info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-aux-info.c b/gcc/c-aux-info.c
index 76b480cdcee..27dad2aba84 100644
--- a/gcc/c-aux-info.c
+++ b/gcc/c-aux-info.c
@@ -126,12 +126,12 @@ affix_data_type (type_or_decl)
for (;;)
{
- if (!strncmp (p, "volatile", 8))
+ if (!strncmp (p, "volatile ", 9))
{
p += 9;
continue;
}
- if (!strncmp (p, "const", 5))
+ if (!strncmp (p, "const ", 6))
{
p += 6;
continue;
@@ -568,7 +568,7 @@ gen_decl (decl, is_func_definition, style)
ret_val = affix_data_type (ret_val);
- if (TREE_REGDECL (decl))
+ if (DECL_REGISTER (decl))
ret_val = concat ("register ", ret_val);
if (TREE_PUBLIC (decl))
ret_val = concat ("extern ", ret_val);