cleanup: make allocate_value_contents static
authorSanimir Agovic <sagovic@sourceware.org>
Thu, 29 Aug 2013 12:26:59 +0000 (12:26 +0000)
committerSanimir Agovic <sagovic@sourceware.org>
Thu, 29 Aug 2013 12:26:59 +0000 (12:26 +0000)
2013-08-29  Sanimir Agovic  <sanimir.agovic@intel.com>

* value.c (allocate_value_contents): Make static.
* value.h (allocate_value_contents): Remove prototype.

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

index 2f0bb8588ff7f7f9c9c6093155348101ffae1b95..87351441d570df7fb8655003bbe92987f06f750f 100644 (file)
@@ -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
index 73702571dd153f9633e3526f5805abe8638ebc97..42a8d2fe4b5ed3cc18ec5389bb1d5379b98aacec 100644 (file)
@@ -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)
index f03cf76676579745d67622aa71d779f1bfedd9aa..98dbadf3681fada2b97cb866449363a802afae31 100644 (file)
@@ -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);
This page took 0.03162 seconds and 4 git commands to generate.