public inbox for
 help / color / mirror / Atom feed
* [pushed] Remove value_next declaration
@ 2023-01-30 23:27 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-01-30 23:27 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

value_next is declared but not defined.  It's long obsolete.  This
patch removes the stray declaration.
 gdb/value.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/gdb/value.h b/gdb/value.h
index 1e80b74b41f..f022510ded1 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -119,13 +119,6 @@ struct value_ref_policy
 typedef gdb::ref_ptr<struct value, value_ref_policy> value_ref_ptr;
-/* Values are stored in a chain, so that they can be deleted easily
-   over calls to the inferior.  Values assigned to internal variables,
-   put into the value history or exposed to Python are taken off this
-   list.  */
-struct value *value_next (const struct value *);
 /* Type of the value.  */
 extern struct type *value_type (const struct value *);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-30 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 23:27 [pushed] Remove value_next declaration Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).