From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 7BEFC3858D1E; Mon, 30 Jan 2023 23:33:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BEFC3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675121625; bh=yrXMpEOTEaqTWf8LAwTxzRHLtlPFBiCkUv742fJ6bvg=; h=From:To:Subject:Date:From; b=vcyFQ2KjrLm4SM81aVj8lANxevo5gObsgDCX0G/b+9Cqf9aN0AWb3ZMVtPl8ZHHoc xxomugn5yZjJAcsJwvh2mplPmuO6gQUlH/GZx13IzIdEOBJmPNSw3VC/cf98gAoez7 QpxH/HUtL7IIB9yfvIo9CqEjQ2xR4DTn7G0/JRE0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove value_next declaration X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 902d61e3285aa88e635195a0f77541c44d1dfb2c X-Git-Newrev: 5b16151da2996f311b6f6bda88d96b2689def267 Message-Id: <20230130233345.7BEFC3858D1E@sourceware.org> Date: Mon, 30 Jan 2023 23:33:45 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D5b16151da299= 6f311b6f6bda88d96b2689def267 commit 5b16151da2996f311b6f6bda88d96b2689def267 Author: Tom Tromey Date: Mon Jan 30 16:23:11 2023 -0700 Remove value_next declaration =20 value_next is declared but not defined. It's long obsolete. This patch removes the stray declaration. Diff: --- 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 =20 typedef gdb::ref_ptr value_ref_ptr; =20 -/* 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. */ =20 extern struct type *value_type (const struct value *);