aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-01-15 19:14:15 +0400
committerJoel Brobecker <brobecker@adacore.com>2014-01-27 08:21:36 +0400
commitaba02109701c9824499b42f1cf044a995fc603e1 (patch)
tree088f001bb30a7c9159b508e2465ec198666bac2f /gdb
parente62e21fd47826fd5501e7e06106c202763e7b260 (diff)
downloadfsf-binutils-gdb-aba02109701c9824499b42f1cf044a995fc603e1.zip
fsf-binutils-gdb-aba02109701c9824499b42f1cf044a995fc603e1.tar.gz
fsf-binutils-gdb-aba02109701c9824499b42f1cf044a995fc603e1.tar.bz2
Remove unncessary function declarations in ada-typeprint.c.
These declarations are unncessary, and make it extra work when trying to change the profile of one of these functions. This patch just removes them. Note that one of them (print_dynamic_range_bound), was improperly indented. gdb/ChangeLog: * ada-typeprint.c (print_array_type, print_choices, print_range) (print_range_bound, print_dynamic_range_bound, print_range_type): Remove declaration.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/ada-typeprint.c19
2 files changed, 7 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 721966d..8a006e6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2014-01-27 Joel Brobecker <brobecker@adacore.com>
+ * ada-typeprint.c (print_array_type, print_choices, print_range)
+ (print_range_bound, print_dynamic_range_bound, print_range_type):
+ Remove declaration.
+
+2014-01-27 Joel Brobecker <brobecker@adacore.com>
+
* ada-typeprint.c (print_range): Add missing empty line
after local declaration.
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c
index f64ec41..7d548bd 100644
--- a/gdb/ada-typeprint.c
+++ b/gdb/ada-typeprint.c
@@ -41,27 +41,10 @@ static int print_selected_record_field_types (struct type *, struct type *,
int, int,
struct ui_file *, int, int,
const struct type_print_options *);
-
+
static int print_record_field_types (struct type *, struct type *,
struct ui_file *, int, int,
const struct type_print_options *);
-
-static void print_array_type (struct type *, struct ui_file *, int, int,
- const struct type_print_options *);
-
-static int print_choices (struct type *, int, struct ui_file *,
- struct type *);
-
-static void print_range (struct type *, struct ui_file *);
-
-static void print_range_bound (struct type *, char *, int *,
- struct ui_file *);
-
-static void
-print_dynamic_range_bound (struct type *, const char *, int,
- const char *, struct ui_file *);
-
-static void print_range_type (struct type *, struct ui_file *);