* 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 cd28e9e..2cedbfd 100644 (file)
@@ -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>
index afec392..5002272 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 242cae3..d8b157f 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,