]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove unnecessary function declaration
authorAndrew Burgess <aburgess@redhat.com>
Wed, 7 May 2025 09:57:17 +0000 (10:57 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 12 May 2025 15:27:09 +0000 (16:27 +0100)
There's no need to declare a function immediately before its
definition.  Lets not do that.

There should be no user visible changes after this commit.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/linux-tdep.c

index 7c98c254e6222109fdf09d454b76b77610ef0778..c4d3d4d8009b9cef899b4454d6b10a7b948872c5 100644 (file)
@@ -1676,8 +1676,6 @@ struct linux_make_mappings_data
   struct type *long_type;
 };
 
-static linux_find_memory_region_ftype linux_make_mappings_callback;
-
 /* A callback for linux_find_memory_regions_full that updates the
    mappings data for linux_make_mappings_corefile_notes.