From patchwork Thu Feb 15 04:00:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 25939 Received: (qmail 40807 invoked by alias); 15 Feb 2018 04:00:47 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 40677 invoked by uid 89); 15 Feb 2018 04:00:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=unavailable version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 Feb 2018 04:00:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B3FA05608A for ; Wed, 14 Feb 2018 23:00:15 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0Duefr-TOPsL for ; Wed, 14 Feb 2018 23:00:15 -0500 (EST) Received: from tron.gnat.com (tron.gnat.com [IPv6:2620:20:4000:0:46a8:42ff:fe0e:e294]) by rock.gnat.com (Postfix) with ESMTP id A5F6656085 for ; Wed, 14 Feb 2018 23:00:15 -0500 (EST) Received: by tron.gnat.com (Postfix, from userid 4233) id A4D99517; Wed, 14 Feb 2018 23:00:15 -0500 (EST) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [pushed/Ada] delete ada-lang.c::ada_to_fixed_value_create advance declaration Date: Wed, 14 Feb 2018 23:00:14 -0500 Message-Id: <1518667214-137460-1-git-send-email-brobecker@adacore.com> Hello, This advance declaration really isn't necesary, since the implementation of this function comes before the first reference to it. gdb/ChangeLog: * ada-lang.c (ada_to_fixed_value_create): Delete advance declaration. Tested by rebuilding GDB and pushed to master. Thank you, diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 947bed4..a36c44d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-02-15 Joel Brobecker + + * ada-lang.c (ada_to_fixed_value_create): Delete advance + declaration. + 2018-02-14 Pedro Alves * frame-unwind.c (frame_unwind_try_unwinder): Always call diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index d07da42..ff9dff5 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -225,9 +225,6 @@ static struct value *ada_value_primitive_field (struct value *, int, int, static int find_struct_field (const char *, struct type *, int, struct type **, int *, int *, int *, int *); -static struct value *ada_to_fixed_value_create (struct type *, CORE_ADDR, - struct value *); - static int ada_resolve_function (struct block_symbol *, int, struct value **, int, const char *, struct type *);