]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/listing: drop forward declarations
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 10:27:04 +0000 (11:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 10:27:04 +0000 (11:27 +0100)
These aren't needed (anymore); all static functions are defined before
their first use.

gas/listing.c

index a84541e757ea3b8d0e8271ba80f38fdfe5f47e43..66d8dac2330e604d91276c4d80e6d62d48c27511 100644 (file)
@@ -220,17 +220,6 @@ static FILE *list_file;
 
 static char *data_buffer;
 
-/* Prototypes.  */
-static void listing_message (const char *, const char *);
-static file_info_type *file_info (const char *);
-static void new_frag (void);
-static void listing_page (list_info_type *);
-static unsigned int calc_hex (list_info_type *);
-static void print_lines (list_info_type *, unsigned int, const char *,
-                        unsigned int);
-static void list_symbol_table (void);
-static void listing_listing (char *);
-
 static void
 listing_message (const char *name, const char *message)
 {