aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-09-29 15:19:23 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-09-29 16:42:34 -0400
commite2df8050fe75d54b03c8f4fbe4392bb568d212a4 (patch)
treea99a43395ff2d868d206a069820ea91f8b8e5aa1 /gdb
parent3fe639b81b452b79460a8527aa57011f1c42ec8b (diff)
downloadgdb-e2df8050fe75d54b03c8f4fbe4392bb568d212a4.zip
gdb-e2df8050fe75d54b03c8f4fbe4392bb568d212a4.tar.gz
gdb-e2df8050fe75d54b03c8f4fbe4392bb568d212a4.tar.bz2
gdb: make fprint_target_auxv static
It's only used in auxv.c. Change-Id: I4992d9aae37b6631a074ab99bbab2f619725b642
Diffstat (limited to 'gdb')
-rw-r--r--gdb/auxv.c2
-rw-r--r--gdb/auxv.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 63ee01c..a9337d9 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -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 ();
diff --git a/gdb/auxv.h b/gdb/auxv.h
index 497318e..2e8b2ab 100644
--- a/gdb/auxv.h
+++ b/gdb/auxv.h
@@ -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;