* [binutils-gdb] gas: sframe: use ATTRIBUTE_UNUSED consistently
@ 2023-04-19 21:59 Indu Bhagat
0 siblings, 0 replies; only message in thread
From: Indu Bhagat @ 2023-04-19 21:59 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1f7e2b39c6cfcb9a7ab7175451095c2371ab344b
commit 1f7e2b39c6cfcb9a7ab7175451095c2371ab344b
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date: Wed Apr 19 14:11:56 2023 -0700
gas: sframe: use ATTRIBUTE_UNUSED consistently
gas/
* gen-sframe.c (sframe_set_version): Use ATTRIBUTE_UNUSED
consistently.
(output_sframe): Likewise.
(sframe_set_fre_info): Remove the usage of ATTRIBUTE_UNUSED.
Diff:
---
gas/gen-sframe.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gas/gen-sframe.c b/gas/gen-sframe.c
index c5470596d14..9e6a9d16a64 100644
--- a/gas/gen-sframe.c
+++ b/gas/gen-sframe.c
@@ -276,7 +276,7 @@ sframe_v1_set_func_info (unsigned int fde_type, unsigned int fre_type,
/* SFrame version specific operations setup. */
static void
-sframe_set_version (uint32_t sframe_version __attribute__((unused)))
+sframe_set_version (uint32_t sframe_version ATTRIBUTE_UNUSED)
{
sframe_ver_ops.format_version = SFRAME_VERSION_1;
@@ -297,7 +297,7 @@ sframe_set_fre_info (unsigned int base_reg, unsigned int num_offsets,
/* SFrame set func info. */
-ATTRIBUTE_UNUSED static unsigned char
+static unsigned char
sframe_set_func_info (unsigned int fde_type, unsigned int fre_type,
unsigned int pauth_key)
{
@@ -1366,7 +1366,7 @@ output_sframe (segT sframe_seg)
#else /* support_sframe_p */
void
-output_sframe (segT sframe_seg __attribute__((unused)))
+output_sframe (segT sframe_seg ATTRIBUTE_UNUSED)
{
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-19 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-19 21:59 [binutils-gdb] gas: sframe: use ATTRIBUTE_UNUSED consistently Indu Bhagat
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).