[pushed] Remove value_next declaration

Message ID 20230130232702.992574-1-tom@tromey.com
State Committed
Commit 5b16151da2996f311b6f6bda88d96b2689def267
Series [pushed] Remove value_next declaration |

Commit Message

Tom Tromey Jan. 30, 2023, 11:27 p.m. UTC
  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 *);