diff options
author | Tom Tromey <tom@tromey.com> | 2022-03-25 13:59:23 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-26 11:15:12 -0600 |
commit | 9d604701bdd11e4ee153e79e6926983edff1889c (patch) | |
tree | 182e1a657c4955dd5e7c6fded2029a5aa6cd730d /gdb/value.h | |
parent | 520a6a7e3a4fd4815de824157d53f9c615fe6e0d (diff) | |
download | gdb-9d604701bdd11e4ee153e79e6926983edff1889c.zip gdb-9d604701bdd11e4ee153e79e6926983edff1889c.tar.gz gdb-9d604701bdd11e4ee153e79e6926983edff1889c.tar.bz2 |
Remove an unused declaration from value.h
value.h has a declaration of value_print_array_elements that is
incorrect. In C, this would have been an error, but in C++ this is a
declaration of an overload that is neither defined nor used. This
patch removes the declaration.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/value.h b/gdb/value.h index 4cd2044..7e1eec2 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -1089,10 +1089,6 @@ extern void print_floating (const gdb_byte *valaddr, struct type *type, extern void value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options); -extern void value_print_array_elements (struct value *val, - struct ui_file *stream, int format, - enum val_prettyformat pretty); - /* Release values from the value chain and return them. Values created after MARK are released. If MARK is nullptr, or if MARK is not found on the value chain, then all values are released. Values |