diff options
Diffstat (limited to 'gcc/c-aux-info.c')
-rw-r--r-- | gcc/c-aux-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-aux-info.c b/gcc/c-aux-info.c index 346901f..694f9c1 100644 --- a/gcc/c-aux-info.c +++ b/gcc/c-aux-info.c @@ -163,7 +163,7 @@ gen_formal_list_for_type (tree fntype, formals_style style) if (!*formal_list) { - if (TYPE_ARG_TYPES (fntype)) + if (prototype_p (fntype)) /* assert (TREE_VALUE (TYPE_ARG_TYPES (fntype)) == void_type_node); */ formal_list = "void"; else |