ada-valprint.c: Reorder functions to reduce advance declarations.
authorJoel Brobecker <brobecker@adacore.com>
Thu, 19 Dec 2013 10:05:16 +0000 (14:05 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 7 Jan 2014 04:17:37 +0000 (08:17 +0400)
commitbdf779a0c5d06c958585c3ba9ca4613da163cda8
tree6edf3cc06be4e5c90408d06303da2b0cadd3ec76
parentc0d4881122d0491f5dea9fa2c017ab5d2ae5fe89
ada-valprint.c: Reorder functions to reduce advance declarations.

Advance function declarations add to the maintenance cost, since
any update to the function prototype needs to be made twice.
For static functions, this is not necessary, and this patch
reorders the function so as to reduce the use of such advanche
declarations.

gdb/ChangeLog:

        * ada-valprint.c (print_record): Delete declaration.
        (adjust_type_signedness, ada_val_print_1): Likewise.
        (ada_val_print): Move function implementation down.
        (print_variant_part, print_field_values, print_record):
        Move function implementation up.
gdb/ChangeLog
gdb/ada-valprint.c