From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7850) id C9FD93858421; Wed, 19 Apr 2023 21:59:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9FD93858421 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Indu Bhagat To: bfd-cvs@sourceware.org Subject: [binutils-gdb] gas: sframe: use ATTRIBUTE_UNUSED consistently X-Act-Checkin: binutils-gdb X-Git-Author: Indu Bhagat X-Git-Refname: refs/heads/master X-Git-Oldrev: 146441c9521991f3e9a010e4e6544ca74619943f X-Git-Newrev: 1f7e2b39c6cfcb9a7ab7175451095c2371ab344b Message-Id: <20230419215937.C9FD93858421@sourceware.org> Date: Wed, 19 Apr 2023 21:59:37 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2023 21:59:37 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D1f7e2b39c6cf= cb9a7ab7175451095c2371ab344b commit 1f7e2b39c6cfcb9a7ab7175451095c2371ab344b Author: Indu Bhagat Date: Wed Apr 19 14:11:56 2023 -0700 gas: sframe: use ATTRIBUTE_UNUSED consistently =20 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, unsigne= d int fre_type, /* SFrame version specific operations setup. */ =20 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 =3D SFRAME_VERSION_1; =20 @@ -297,7 +297,7 @@ sframe_set_fre_info (unsigned int base_reg, unsigned in= t num_offsets, =20 /* SFrame set func info. */ =20 -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 */ =20 void -output_sframe (segT sframe_seg __attribute__((unused))) +output_sframe (segT sframe_seg ATTRIBUTE_UNUSED) { }