(shadow_tag_warned): Don't warn about useless keyword if in system

header file.

From-SVN: r9755
This commit is contained in:
Richard Kenner 1995-05-20 07:04:26 -04:00
parent 8ae49a28b3
commit efffbf71b1
1 changed files with 1 additions and 1 deletions

View File

@ -3385,7 +3385,7 @@ shadow_tag_warned (declspecs, warned)
}
else
{
if (!warned)
if (!warned && ! in_system_header)
{
warning ("useless keyword or type name in empty declaration");
warned = 2;