From 6598ed07ebc826df0221dd05f6faa4504be6af74 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 15 Jun 2012 14:38:30 +0000 Subject: [PATCH] * valops.c (value_find_oload_method_list): Now static. * value.h (value_find_oload_method_list): Don't declare. --- gdb/ChangeLog | 5 +++++ gdb/valops.c | 2 +- gdb/value.h | 5 ----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cd28e9e01be..2cedbfd1a8f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-06-15 Tom Tromey + + * valops.c (value_find_oload_method_list): Now static. + * value.h (value_find_oload_method_list): Don't declare. + 2012-06-15 Tom Tromey * valops.c (find_overload_match): Use value_ind. diff --git a/gdb/valops.c b/gdb/valops.c index afec392103b..5002272301c 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -2512,7 +2512,7 @@ find_method_list (struct value **argp, const char *method, method. BOFFSET is the offset of the base subobject which defines the method. */ -struct fn_field * +static struct fn_field * value_find_oload_method_list (struct value **argp, const char *method, int offset, int *num_fns, struct type **basetype, int *boffset) diff --git a/gdb/value.h b/gdb/value.h index 242cae30c62..d8b157f0b83 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -642,11 +642,6 @@ extern struct value *value_aggregate_elt (struct type *curtype, extern struct value *value_static_field (struct type *type, int fieldno); -extern struct fn_field *value_find_oload_method_list (struct value **, - const char *, - int, int *, - struct type **, int *); - enum oload_search_type { NON_METHOD, METHOD, BOTH }; extern int find_overload_match (struct value **args, int nargs, -- 2.30.2