public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: make fprint_target_auxv static
@ 2022-09-29 23:57 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2022-09-29 23:57 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e2df8050fe75d54b03c8f4fbe4392bb568d212a4

commit e2df8050fe75d54b03c8f4fbe4392bb568d212a4
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Thu Sep 29 15:19:23 2022 -0400

    gdb: make fprint_target_auxv static
    
    It's only used in auxv.c.
    
    Change-Id: I4992d9aae37b6631a074ab99bbab2f619725b642

Diff:
---
 gdb/auxv.c | 2 +-
 gdb/auxv.h | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/gdb/auxv.c b/gdb/auxv.c
index 63ee01c333c..a9337d9f7ff 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 497318e87a0..2e8b2ab33fc 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-29 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-29 23:57 [binutils-gdb] gdb: make fprint_target_auxv static Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).