From: Richard Kenner Date: Mon, 20 Jan 1997 03:18:33 +0000 (-0500) Subject: Fix editing error in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a01dce9a42c467e649816bc2821830cc9c3d53af;p=gcc.git Fix editing error in last change. From-SVN: r13537 --- diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0c6e1c3d6c0..46c0f9c859d 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6256,7 +6256,7 @@ start_function (declspecs, declarator, prefix_attributes, attributes, nested) if (TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (decl1))) != integer_type_node) - pedwarn_with_decl (fndecl, "return type of `%s' is not `int'"); + pedwarn_with_decl (decl1, "return type of `%s' is not `int'"); for (args = TYPE_ARG_TYPES (TREE_TYPE (decl1)); args; args = TREE_CHAIN (args))