summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-15 14:38:30 +0000
committerTom Tromey <tromey@redhat.com>2012-06-15 14:38:30 +0000
commit6598ed07ebc826df0221dd05f6faa4504be6af74 (patch)
tree49923659bb4f41bb805735943f807efad09db729
parent2b214ea69762328de2bcfc4fdbde189d4aab850d (diff)
downloadbinutils-gdb-6598ed07ebc826df0221dd05f6faa4504be6af74.tar.gz
* valops.c (value_find_oload_method_list): Now static.
* value.h (value_find_oload_method_list): Don't declare.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/valops.c2
-rw-r--r--gdb/value.h5
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,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 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,