Remove unncessary function declarations in ada-typeprint.c.
authorJoel Brobecker <brobecker@adacore.com>
Wed, 15 Jan 2014 15:14:15 +0000 (19:14 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 27 Jan 2014 04:21:36 +0000 (08:21 +0400)
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.

gdb/ChangeLog
gdb/ada-typeprint.c

index 721966d35a4f15c34ef8257fe755e5111abfe8ee..8a006e62ea37d47016891a9acb7bc9bcfcd9bf51 100644 (file)
@@ -1,3 +1,9 @@
+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
index f64ec4178bee2581f345973375f36018995559dd..7d548bdd8764e2bdcadae4fd8447ca3bf290bc03 100644 (file)
@@ -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 *);
 \f