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 <mmitchel@gcc.gnu.org>2004-10-27 05:51:24 +0000
commit6ac1920d89e15efe3819d52d507c0d1986395ebf (patch)
treeb10c7430d0d3849f79e7a56a6cec214735f930be /gcc/cp/search.c
parent1aeaea8d7cc36206558d90c0c9d5ec67f2a5091a (diff)
downloadgcc-6ac1920d89e15efe3819d52d507c0d1986395ebf.zip
gcc-6ac1920d89e15efe3819d52d507c0d1986395ebf.tar.gz
gcc-6ac1920d89e15efe3819d52d507c0d1986395ebf.tar.bz2
name-lookup.c (do_namespace_alias): Use FROB_CONTEXT.
* name-lookup.c (do_namespace_alias): Use FROB_CONTEXT. * search.c (current_scope): Fix prototype. From-SVN: r89632
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