diff options
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 04b975023ae..63b2680f308 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1621,13 +1621,13 @@ duplicate_decls (newdecl, olddecl, different_binding_level) if (TREE_CHAIN (t) == 0 && TYPE_MAIN_VARIANT (type) != void_type_node) { - error ("A parameter list with an ellipsis can't match an empty parameter name list declaration."); + error ("A parameter list with an ellipsis can't match an empty parameter name list declaration"); break; } if (simple_type_promotes_to (type) != NULL_TREE) { - error ("An argument type that has a default promotion can't match an empty parameter name list declaration."); + error ("An argument type that has a default promotion can't match an empty parameter name list declaration"); break; } } @@ -5300,7 +5300,7 @@ parmlist_tags_warning () } if (! already) { - warning ("its scope is only this definition or declaration, which is probably not what you want."); + warning ("its scope is only this definition or declaration, which is probably not what you want"); already = 1; } } |