From: Tom Tromey Date: Fri, 15 Jun 2012 14:38:30 +0000 (+0000) Subject: * valops.c (value_find_oload_method_list): Now static. X-Git-Tag: sid-snapshot-20120701~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6598ed07ebc826df0221dd05f6faa4504be6af74;p=external%2Fbinutils.git * valops.c (value_find_oload_method_list): Now static. * value.h (value_find_oload_method_list): Don't declare. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cd28e9e..2cedbfd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. 2012-06-15 Maciej W. Rozycki diff --git a/gdb/valops.c b/gdb/valops.c index afec392..5002272 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 242cae3..d8b157f 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,