mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
cleanup: make allocate_value_contents static
2013-08-29 Sanimir Agovic <sanimir.agovic@intel.com> * value.c (allocate_value_contents): Make static. * value.h (allocate_value_contents): Remove prototype.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2013-08-29 Sanimir Agovic <sanimir.agovic@intel.com>
|
||||
|
||||
* value.c (allocate_value_contents): Make static.
|
||||
* value.h (allocate_value_contents): Remove prototype.
|
||||
|
||||
2013-08-29 Sanimir Agovic <sanimir.agovic@intel.com>
|
||||
|
||||
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use value_at_lazy instead
|
||||
|
||||
@@ -707,7 +707,7 @@ allocate_value_lazy (struct type *type)
|
||||
|
||||
/* Allocate the contents of VAL if it has not been allocated yet. */
|
||||
|
||||
void
|
||||
static void
|
||||
allocate_value_contents (struct value *val)
|
||||
{
|
||||
if (!val->contents)
|
||||
|
||||
@@ -593,7 +593,6 @@ extern struct value *default_read_var_value (struct symbol *var,
|
||||
|
||||
extern struct value *allocate_value (struct type *type);
|
||||
extern struct value *allocate_value_lazy (struct type *type);
|
||||
extern void allocate_value_contents (struct value *value);
|
||||
extern void value_contents_copy (struct value *dst, int dst_offset,
|
||||
struct value *src, int src_offset,
|
||||
int length);
|
||||
|
||||
Reference in New Issue
Block a user