Remove value_next declaration
authorTom Tromey <tom@tromey.com>
Mon, 30 Jan 2023 23:23:11 +0000 (16:23 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 30 Jan 2023 23:27:24 +0000 (16:27 -0700)
value_next is declared but not defined.  It's long obsolete.  This
patch removes the stray declaration.

gdb/value.h

index 1e80b74b41f9a9c5e871de0cda895b8e560e860b..f022510ded1bdc45740a0a5d1192abed4b903c52 100644 (file)
@@ -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 *);