]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* valops.c (value_find_oload_method_list): Now static.
authorTom Tromey <tromey@redhat.com>
Fri, 15 Jun 2012 14:38:30 +0000 (14:38 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 15 Jun 2012 14:38:30 +0000 (14:38 +0000)
* value.h (value_find_oload_method_list): Don't declare.

gdb/ChangeLog
gdb/valops.c
gdb/value.h

index cd28e9e01be9edc1c1956e32b089605174d147a6..2cedbfd1a8f07826377175ec6dbc85b73e35990e 100644 (file)
@@ -1,3 +1,8 @@
+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.
index afec392103b2834354197869cf7300bcd6cd32b3..5002272301c81c5a0c7f4ce237a480ffdb0779ff 100644 (file)
@@ -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)
index 242cae30c623d6f9be6ec739d1d5353323af7402..d8b157f0b83b84b834ce4f1b56f0bbb4a252f950 100644 (file)
@@ -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,