Tom Tromey | 15 Jun 2012 16:38
Picon
Favicon

FYI: make value_find_oload_method_list static

I'm checking this in.

While working on another patch, I realized that
value_find_oload_method_list could be static.

Tom

2012-06-15  Tom Tromey  <tromey <at> redhat.com>

	* valops.c (value_find_oload_method_list): Now static.
	* value.h (value_find_oload_method_list): Don't declare.

Index: valops.c
===================================================================
RCS file: /cvs/src/src/gdb/valops.c,v
retrieving revision 1.295
diff -u -r1.295 valops.c
--- valops.c	15 Jun 2012 14:35:33 -0000	1.295
+++ valops.c	15 Jun 2012 14:37:13 -0000
 <at>  <at>  -2512,7 +2512,7  <at>  <at> 
       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: value.h
===================================================================
(Continue reading)


Gmane