aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-10-27 05:51:24 +0000
committerMark Mitchell <mark@codesourcery.com>2004-10-27 05:51:24 +0000
commit3f62f1be742ed069a442e1839242c0ad3cf36414 (patch)
treeb10c7430d0d3849f79e7a56a6cec214735f930be /gcc/cp/search.c
parentbd135ac36747a5ddf6fc2475a53001eda7cb94ff (diff)
* name-lookup.c (do_namespace_alias): Use FROB_CONTEXT.
* search.c (current_scope): Fix prototype. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89632 138bc75d-0d04-0410-961f-82ee72b054a4
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 5f8f0815013..68a42f2630f 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