From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by sourceware.org (Postfix) with ESMTPS id 7B440385843E for ; Wed, 10 Aug 2022 17:24:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7B440385843E Received: by mail-vs1-xe36.google.com with SMTP id d126so11553545vsd.13 for ; Wed, 10 Aug 2022 10:24:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=gzhifNg5O3G0UbFLmkWhBQBjwiQfmmZ32AYxkf8hPRI=; b=ebXsKKBiGNYKDC2VnIwOb8yxaaMyVv1II5psytKPOgDGkzF3x1MXSph0j7pq5mi0Ad 7Y9XCxNlluhq8IBTXV7IemGxRU8WagdRsIHkZoQkcsbc31PBdFrcCTbPVwhwex5Od/Mx LEDpZ+1I///4bTg51gi1HUP5u6r6aDhEPjhcLRlGNe5bwz0RRgxxS5LFpEqxn20xmmaY djMw5YsyUvCcDeAWHKsHmSnCFgAkk6R5HA4n4uwAlX0H17wTsyUMMeufrNgeJHF7Vf8D utrkncAqfvlAgkgPO47rgZDQKqDDFdRVBUDmTUVNcHly/4FnNQCIsqjw7X9yaY0IGVM7 FVCw== X-Gm-Message-State: ACgBeo2o76h6aJh77JKFWH1sf5L5Vov0QDgGwvD0U6uK8Q8P+nIWKx4e UZH7nuggaVrEL4lhihKT7WT1HMy56LuWgA== X-Google-Smtp-Source: AA6agR6euD4Po7e6adB/U6BQM9SLOvXzkx1a9xhJMy78vA+dUT1npQHjJm6l50lpdjIG6H6gntHB9Q== X-Received: by 2002:a05:6102:3a10:b0:388:6f3a:8d2a with SMTP id b16-20020a0561023a1000b003886f3a8d2amr11799953vsu.76.1660152294613; Wed, 10 Aug 2022 10:24:54 -0700 (PDT) Received: from mandiga.. ([2804:431:c7ca:930b:405a:6d95:e89e:4020]) by smtp.gmail.com with ESMTPSA id i31-20020a0561023d1f00b00388859a325asm155722vsv.30.2022.08.10.10.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 10:24:54 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Florian Weimer Subject: [PATCH v2 3/5] linux: Mimic kernel defition for BLOCK_SIZE Date: Wed, 10 Aug 2022 14:24:45 -0300 Message-Id: <20220810172447.1502169-4-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810172447.1502169-1-adhemerval.zanella@linaro.org> References: <20220810172447.1502169-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2022 17:24:56 -0000 To avoid possible warnings if the kernel header is included before sys/mount.h. --- sysdeps/unix/sysv/linux/sys/mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h index f965986ba8..df6b0dbb42 100644 --- a/sysdeps/unix/sysv/linux/sys/mount.h +++ b/sysdeps/unix/sysv/linux/sys/mount.h @@ -27,8 +27,8 @@ #include #include -#define BLOCK_SIZE 1024 #define BLOCK_SIZE_BITS 10 +#define BLOCK_SIZE (1<