diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/valops.c | 2 | ||||
-rw-r--r-- | gdb/value.h | 5 |
3 files changed, 6 insertions, 6 deletions
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 <tromey@redhat.com> + * valops.c (value_find_oload_method_list): Now static. + * value.h (value_find_oload_method_list): Don't declare. + +2012-06-15 Tom Tromey <tromey@redhat.com> + * valops.c (find_overload_match): Use value_ind. 2012-06-15 Maciej W. Rozycki <macro@codesourcery.com> 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, |