projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73fef4f
)
Fix editing error in last change.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 20 Jan 1997 03:18:33 +0000
(22:18 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 20 Jan 1997 03:18:33 +0000
(22:18 -0500)
From-SVN: r13537
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 0c6e1c3d6c0976fd7f7605f9eba641080d3d1dff..46c0f9c859dd592e4949e647b67f2d918f7f5f5a 100644
(file)
--- 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))