summaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-07-27 19:31:30 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-07-27 19:31:30 +0000
commit2c058339d05b160165250a17c0509aa85c95d8bd (patch)
treedb71684e0339f8152807a84288debb3f6a63fb3a /gdb/value.h
parent3961b5b20951478e5ff3f07145dad43a2ecf52c1 (diff)
downloadgdb-2c058339d05b160165250a17c0509aa85c95d8bd.tar.gz
gdb/
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> Pedro Alves <pedro@codesourcery.com> * eval.c (evaluate_subexp_standard): Remove not_lval from all calls of value_one. * valops.c (value_one): Remove parameter lv. Do not pass it to itself. Assert the result kind. * value.h (value_one): Remove parameter lv.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 3bcd839e237..960384ee21e 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -615,7 +615,7 @@ extern struct value *value_dynamic_cast (struct type *type, struct value *arg);
extern struct value *value_zero (struct type *type, enum lval_type lv);
-extern struct value *value_one (struct type *type, enum lval_type lv);
+extern struct value *value_one (struct type *type);
extern struct value *value_repeat (struct value *arg1, int count);