]> 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>
Wed, 7 May 2025 19:33:07 +0000 (20:33 +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.

gdb/linux-tdep.c

index 6b98c8bd8fe93bf95cf78c0948621d1a00b37565..53d68071d3bc120d3704c2d3a20580b44b2eba5b 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.