aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2018-02-14 22:58:48 -0500
committerJoel Brobecker <brobecker@adacore.com>2018-02-14 22:59:20 -0500
commit355c559b74518b67eb113e635363cc890058746c (patch)
treed8de8698a4416ab52f5359268736f3a331e2d8ff /gdb
parent074bca956e20b7c0044df9ae2f41d5fda2ae1026 (diff)
downloadgdb-355c559b74518b67eb113e635363cc890058746c.zip
gdb-355c559b74518b67eb113e635363cc890058746c.tar.gz
gdb-355c559b74518b67eb113e635363cc890058746c.tar.bz2
delete ada-lang.c::ada_to_fixed_value_create advance declaration
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-lang.c3
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 *);