aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorSanimir Agovic <sagovic@sourceware.org>2013-08-29 12:26:59 +0000
committerSanimir Agovic <sagovic@sourceware.org>2013-08-29 12:26:59 +0000
commit548b762d1b1f81f79c0ad824746e1f96a37f8cf4 (patch)
tree158641acc36fe712c7bd0d03db6d3ba6a373610f /gdb/value.c
parent08039c9efdbe7602bfb0d1b4396a3f3a39130239 (diff)
downloadgdb-548b762d1b1f81f79c0ad824746e1f96a37f8cf4.zip
gdb-548b762d1b1f81f79c0ad824746e1f96a37f8cf4.tar.gz
gdb-548b762d1b1f81f79c0ad824746e1f96a37f8cf4.tar.bz2
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.
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 7370257..42a8d2f 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -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)