summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/stub-objc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1003b0fb2e2..2504abf5abe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-12 Thomas Neumann <tneumann@users.sourceforge.net>
+
+ * stub-objc.c (objc_build_keyword_decl): Avoid C++ keywords.
+
2007-04-12 Richard Sandiford <richard@codesourcery.com>
* Makefile.in (insn-emit.o): Depend on $(INTEGRATE_H).
diff --git a/gcc/stub-objc.c b/gcc/stub-objc.c
index 0cd6017fd1a..c2bfe94c214 100644
--- a/gcc/stub-objc.c
+++ b/gcc/stub-objc.c
@@ -197,7 +197,7 @@ objc_finish_method_definition (tree ARG_UNUSED (fndecl))
tree
objc_build_keyword_decl (tree ARG_UNUSED (selector),
- tree ARG_UNUSED (typename),
+ tree ARG_UNUSED (type),
tree ARG_UNUSED (identifier))
{
return 0;