aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 5f8f081..68a42f2 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -501,7 +501,7 @@ lookup_field_1 (tree type, tree name, bool want_type)
NAMESPACE_DECL corresponding to the innermost non-block scope. */
tree
-current_scope ()
+current_scope (void)
{
/* There are a number of cases we need to be aware of here:
current_class_type current_function_decl