]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: make fprint_target_auxv static
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 Sep 2022 19:19:23 +0000 (15:19 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 Sep 2022 20:42:34 +0000 (16:42 -0400)
It's only used in auxv.c.

Change-Id: I4992d9aae37b6631a074ab99bbab2f619725b642

gdb/auxv.c
gdb/auxv.h

index 63ee01c333c5b48e0122fceaca93178bdc381eb1..a9337d9f7ff4694d986f3026004b15e599500dda 100644 (file)
@@ -546,7 +546,7 @@ default_print_auxv_entry (struct gdbarch *gdbarch, struct ui_file *file,
 
 /* Print the contents of the target's AUXV on the specified file.  */
 
-int
+static int
 fprint_target_auxv (struct ui_file *file, struct target_ops *ops)
 {
   struct gdbarch *gdbarch = target_gdbarch ();
index 497318e87a04cbb6af83ce98cdc2d81665a2358f..2e8b2ab33fc660bf0d6a6c9a9f6827f4b92b062a 100644 (file)
@@ -74,9 +74,6 @@ extern void default_print_auxv_entry (struct gdbarch *gdbarch,
                                      struct ui_file *file, CORE_ADDR type,
                                      CORE_ADDR val);
 
-/* Print the contents of the target's AUXV on the specified file.  */
-extern int fprint_target_auxv (struct ui_file *file, struct target_ops *ops);
-
 extern target_xfer_partial_ftype memory_xfer_auxv;