aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/typeck.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/typeck.c')
-rw-r--r--gcc/java/typeck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c
index 3441a1d8663..499d6d4fba0 100644
--- a/gcc/java/typeck.c
+++ b/gcc/java/typeck.c
@@ -731,9 +731,9 @@ lookup_java_method (tree searched_class, tree method_name,
/* Return true iff CLASS (or its ancestors) has a method METHOD_NAME.  */
int
-has_method (tree class, tree method_name)
+has_method (tree jclass, tree method_name)
{
- return lookup_do (class, SEARCH_INTERFACE,
+ return lookup_do (jclass, SEARCH_INTERFACE,
method_name, NULL_TREE,
build_null_signature) != NULL_TREE;
}