aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-01-19 22:18:33 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-01-19 22:18:33 -0500
commita01dce9a42c467e649816bc2821830cc9c3d53af (patch)
tree785abfb10612869da22f66eae61ac8dc014d2e46
parent73fef4fe212796b459163b093386128128994217 (diff)
downloadgcc-a01dce9a42c467e649816bc2821830cc9c3d53af.zip
gcc-a01dce9a42c467e649816bc2821830cc9c3d53af.tar.gz
gcc-a01dce9a42c467e649816bc2821830cc9c3d53af.tar.bz2
Fix editing error in last change.
From-SVN: r13537
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 0c6e1c3..46c0f9c8 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))