From patchwork Fri Dec 22 02:05:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 82731 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A0FC438618BF for ; Fri, 22 Dec 2023 02:06:05 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 45CB73858D33 for ; Fri, 22 Dec 2023 02:05:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 45CB73858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 45CB73858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703210749; cv=none; b=VfaciANeGN0q3PWRY77f4WEp8TMjPxiT6vhV+R3j5Klll1ddjaiSKTlgscoqxR5Z9SXEFEnF0GjVaoYLwFrFuAQsUz9Kxcu8HNOX/FgIrIgcBoQsryFBKB0sm43Y7eph6L4o8FxypnUwBNjJXVJ0kehTiXK8xFXVDHUc8xMqpLI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703210749; c=relaxed/simple; bh=OFU8DhvVoL3092cNy6g9aveLp647FhZokpWn94AEfpg=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=c1hYM3BDLxpUgtJw00OUcHFJ6xBfPKac4lxOedT4Y9rkiRBirRbs1umO5mbpP2xtnbr4+2r83TChQCqDCkm9N4xG7Ftnpp0SOriYaavh0/w9JSijLyvyLoCkWQ72Nlh9Hw4Qeqvs6qQIHS8wUdJsWvc+6+ZsnO0dhrnG6owLj88= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id B79793408DD; Fri, 22 Dec 2023 02:05:47 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH/committed 1/2] sim: warnings: fix -Wreturn-mismatch typo Date: Thu, 21 Dec 2023 21:05:44 -0500 Message-ID: <20231222020545.8663-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org --- sim/configure | 2 +- sim/m4/sim_ac_option_warnings.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index bdb99c496527..555bdb0a26ae 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -68,7 +68,7 @@ build_warnings="$build_warnings -Wold-style-declaration -Wold-style-definition -Wpointer-sign --WWreturn-mismatch +-Wreturn-mismatch -Wstrict-prototypes dnl The cgen virtual insn logic involves enum conversions. dnl Disable until we can figure out how to make this work.