public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed/Ada] delete ada-lang.c::ada_to_fixed_value_create advance declaration
@ 2018-02-15  4:00 Joel Brobecker
  0 siblings, 0 replies; only message in thread
From: Joel Brobecker @ 2018-02-15  4:00 UTC (permalink / raw)
  To: gdb-patches

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,
-- 
Joel

---
 gdb/ChangeLog  | 5 +++++
 gdb/ada-lang.c | 3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

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  <brobecker@adacore.com>
+
+	* ada-lang.c (ada_to_fixed_value_create): Delete advance
+	declaration.
+
 2018-02-14  Pedro Alves  <palves@redhat.com>
 
 	* 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 *);
-- 
2.1.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-15  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15  4:00 [pushed/Ada] delete ada-lang.c::ada_to_fixed_value_create advance declaration Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).