From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sender-0.a4lg.com (mail-sender-0.a4lg.com [IPv6:2401:2500:203:30b:4000:6bfe:4757:0]) by sourceware.org (Postfix) with ESMTPS id CE88D385AC1F for ; Wed, 21 Sep 2022 13:53:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CE88D385AC1F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=irq.a4lg.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=irq.a4lg.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id DB82E300089; Wed, 21 Sep 2022 13:53:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irq.a4lg.com; s=2017s01; t=1663768414; bh=EbkdCUbwASmFb4H8Z/EKO5nM6BbUytr70fwkhFRjeRA=; h=From:To:Cc:Subject:Date:Message-Id:Mime-Version: Content-Transfer-Encoding; b=GVkXVf4BSejmaENTJmiPsnzH40w3khjjUbYkh7bQERtkz3PfYuL0IiBecmtzTPee4 asspjxzEvvS+T1S/VJhLG+l0nwln+DRS//np61IKJzqRJjophg+FkUu4yjmhSf2RQp qVt/txtUAinAwz1zWoBtfY5Ze37lBifAggp48TgA= From: Tsukasa OI To: Tsukasa OI , Nelson Chu , Shihua LIAO Cc: binutils@sourceware.org Subject: [COMMITTED PATCH 0/1] RISC-V: Minor fix to the 'Ztso' extension support, part 2 Date: Wed, 21 Sep 2022 13:53:26 +0000 Message-Id: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, Obvious change related to -Werror=strict-prototypes is committed. Change: - Before: static void riscv_set_tso () { ... } - After: static void riscv_set_tso (void) { ... } The former () is used on function prototypes of old C standards, possibly meaning a function with indeterminate arguments (deprecated though). To avoid ambiguity, we need to use (void) for function declaration with no arguments. Thanks, Tsukasa Tsukasa OI (1): RISC-V: Fix riscv_set_tso declaration gas/config/tc-riscv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: f9a59eea78428159a9522bd64ec354a872f1dc31 -- 2.34.1