aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-aux-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c/c-aux-info.c')
-rw-r--r--gcc/c/c-aux-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-aux-info.c b/gcc/c/c-aux-info.c
index bae5757..81860cb 100644
--- a/gcc/c/c-aux-info.c
+++ b/gcc/c/c-aux-info.c
@@ -67,12 +67,12 @@ affix_data_type (const char *param)
for (;;)
{
- if (!strncmp (p, "volatile ", 9))
+ if (startswith (p, "volatile "))
{
p += 9;
continue;
}
- if (!strncmp (p, "const ", 6))
+ if (startswith (p, "const "))
{
p += 6;
continue;