diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-02-02 07:15:44 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-02-02 07:15:44 -0500 |
commit | d71f83ca54e3c799a89313d7cb6d10a13314cfc9 (patch) | |
tree | a16fa1983b67a5f1deeefeaf19be35d6339f500b | |
parent | 906a2d3cefb5cdf990cf9cd038a5840556d9eebb (diff) | |
download | gcc-d71f83ca54e3c799a89313d7cb6d10a13314cfc9.zip gcc-d71f83ca54e3c799a89313d7cb6d10a13314cfc9.tar.gz gcc-d71f83ca54e3c799a89313d7cb6d10a13314cfc9.tar.bz2 |
(start_function): Fix improper installation of last change.
From-SVN: r13581
-rw-r--r-- | gcc/c-decl.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 46c0f9c8..f4c4a06 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6293,16 +6293,16 @@ start_function (declspecs, declarator, prefix_attributes, attributes, nested) "third argument of `%s' should probably be `char **'"); break; } + } - /* It is intentional that this message does not mention the third - argument, which is warned for only pedantically, because it's - blessed by mention in an appendix of the standard. */ - if (argct > 0 && (argct < 2 || argct > 3)) - pedwarn_with_decl (decl1, "`%s' takes only zero or two arguments"); + /* It is intentional that this message does not mention the third + argument, which is warned for only pedantically, because it's + blessed by mention in an appendix of the standard. */ + if (argct > 0 && (argct < 2 || argct > 3)) + pedwarn_with_decl (decl1, "`%s' takes only zero or two arguments"); - if (argct == 3 && pedantic) - pedwarn_with_decl (decl1, "third argument of `%s' is deprecated"); - } + if (argct == 3 && pedantic) + pedwarn_with_decl (decl1, "third argument of `%s' is deprecated"); if (! TREE_PUBLIC (decl1)) pedwarn_with_decl (decl1, "`%s' is normally a non-static function"); |