Skip to content

Commit

Permalink
Remove value_next declaration
Browse files Browse the repository at this point in the history
value_next is declared but not defined.  It's long obsolete.  This
patch removes the stray declaration.
  • Loading branch information
tromey committed Jan 30, 2023
1 parent 902d61e commit 5b16151
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions gdb/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit 5b16151

Please sign in to comment.