From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1879) id 607273854830; Thu, 29 Sep 2022 23:57:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 607273854830 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664495848; bh=2mPopu4CB/XYfRPFEPHJVHGcMWNuHRvRXEfUTgQYKMY=; h=From:To:Subject:Date:From; b=MxvcwSmU1q8upD+SenHCT7QQNihCZERY1+SI1AeMvE1zt8GVd2viy5+8f/1GnqVyn dBeGbTxQTHU5PUNvu8wDz3HATLHZgVVIm/50ABhbM/BjvLpKAZMDvibZRSa50dNKgB iDUiZQaI4qdKaLpy6BEVRdcj6GtldiBVvQKbZaKo= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Simon Marchi To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: make fprint_target_auxv static X-Act-Checkin: binutils-gdb X-Git-Author: Simon Marchi X-Git-Refname: refs/heads/master X-Git-Oldrev: 3fe639b81b452b79460a8527aa57011f1c42ec8b X-Git-Newrev: e2df8050fe75d54b03c8f4fbe4392bb568d212a4 Message-Id: <20220929235728.607273854830@sourceware.org> Date: Thu, 29 Sep 2022 23:57:28 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De2df8050fe75= d54b03c8f4fbe4392bb568d212a4 commit e2df8050fe75d54b03c8f4fbe4392bb568d212a4 Author: Simon Marchi Date: Thu Sep 29 15:19:23 2022 -0400 gdb: make fprint_target_auxv static =20 It's only used in auxv.c. =20 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, stru= ct ui_file *file, =20 /* Print the contents of the target's AUXV on the specified file. */ =20 -int +static int fprint_target_auxv (struct ui_file *file, struct target_ops *ops) { struct gdbarch *gdbarch =3D 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 *gdb= arch, struct ui_file *file, CORE_ADDR type, CORE_ADDR val); =20 -/* Print the contents of the target's AUXV on the specified file. */ -extern int fprint_target_auxv (struct ui_file *file, struct target_ops *op= s); - extern target_xfer_partial_ftype memory_xfer_auxv;