From patchwork Thu Oct 24 21:31:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaegeuk Kim X-Patchwork-Id: 13849760 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8D82D10380 for ; Thu, 24 Oct 2024 21:32:07 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1t45R5-00083S-U3; Thu, 24 Oct 2024 21:32:03 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1t45R4-00083K-NI for linux-f2fs-devel@lists.sourceforge.net; Thu, 24 Oct 2024 21:32:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=G2uoxxwDj/PBReYIZBjJHimu1lY0wrE5N9oIKhxbDe4=; b=BBWzlhltAq//aow5ruiiaQJ0Or c5+IabwisVs0vt0CnwbRgwBreZuE7HxNF9UjufpCVt5wiRuu8ej4iFmQKBEXFPr1OF4Paen0vmdzN T/iUELMVjgxPFB/Ny5KThihGOc3V1rk0KJmHBzQlYOmSiiLYUOBFzkODTO9tIqRnyLRQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=G2uoxxwDj/PBReYIZBjJHimu1lY0wrE5N9oIKhxbDe4=; b=B ih78R8T9EC8B2z0fMYCt6IrOPYh40/yowG3my82JnLMZDhT61mtWRRO2KitHXfrf1fRmEL6JIb71C 6W4pHFwetqIC7QHr4HaQ9xshR8yDnN7y0IGMmgyv7IFTuc/7XGai4baipFlg66+RojNcLTyNT3nBH 7ElOXYBqVDguqe78=; Received: from nyc.source.kernel.org ([147.75.193.91]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1t45R4-0001N6-2S for linux-f2fs-devel@lists.sourceforge.net; Thu, 24 Oct 2024 21:32:02 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 15E68A45839; Thu, 24 Oct 2024 21:31:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1E2DC4CEC7; Thu, 24 Oct 2024 21:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729805515; bh=8aVIHhVHToLP99G1syN1xAoPMZJJTR6cywV5xVCGbmo=; h=From:To:Cc:Subject:Date:From; b=scnCCn7bowuPHO8xD/S7JyjqcvYo7T1RBCnhebFTVKJtfMT4ls2HprQXEbwcSn5KL kzBewWeBrxZVBur3nW9VhZtrWSpotJBArGBQIGtRYYuaoK3nnBgeoaL6mZo1SmYnw0 lDgCNgQxKQo6BhCTM137v3Ozx+m9CgbZYsZcZ093Mao4ToqooIMKJbo8XHbqIkkVtW 02q9/pu2cc2wt+EopkQMxZtsuz1ufLjla6ZwTH5H059xoIenphX4Ip5FVv8xfegwbj JeiIHPMhtiJanfd2pUxTY1qWSYqPnahHdJGyPjCiV9f3KjNy77r6VFDZlrKmkjcLwN VZO2C5KtP+xEg== To: linux-f2fs-devel@lists.sourceforge.net Date: Thu, 24 Oct 2024 21:31:53 +0000 Message-ID: <20241024213154.2581358-1-jaegeuk@kernel.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog MIME-Version: 1.0 X-Headers-End: 1t45R4-0001N6-2S Subject: [f2fs-dev] [PATCH] f2fs-tools: use stdbool.h instead of bool X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jaegeuk Kim via Linux-f2fs-devel From: Jaegeuk Kim Reply-To: Jaegeuk Kim Cc: Jaegeuk Kim , Elliott Hughes Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net The existing bool definition is broken for c23, where bool is now a keyword. Signed-off-by: Elliott Hughes Signed-off-by: Jaegeuk Kim --- include/f2fs_fs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h index 9534da98ca53..0cb9228288c0 100644 --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -28,6 +28,7 @@ #include #include #include +#include #ifdef HAVE_CONFIG_H #include @@ -119,9 +120,6 @@ typedef uint16_t u16; typedef uint8_t u8; typedef u32 block_t; typedef u32 nid_t; -#ifndef bool -typedef u8 bool; -#endif typedef unsigned long pgoff_t; typedef unsigned short umode_t;