From nobody Tue Oct 01 04:28:27 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XHlLM6lf6z5YBF0; Tue, 01 Oct 2024 04:28:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHlLM6DMjz4LqZ; Tue, 1 Oct 2024 04:28:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727756907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UIs5KyxQzWrtM6BDYo2d7sXFTBq//4vei7QXZvbHo2Y=; b=Q6PSoce6zCtnwfdVZ2UJO/L5NJ067e4F3AS7dzshytftIeeM8jQsJ8LN0MBnwL/ciEgKJn afmuOCHkL7nQzwWTHGooLWYy52qX8hF5HCva5TZb7vehjQZ1dXk0CqJatYTr4WyyGycLMk yNtByiLDRXiZmx9ANipQhVQmAGwoasLnjWDuEtgx3L4xeTWUnL+8OdHe+VPPkutXYEYEVz /9jPElY0Q87emS8zPLlTimMo586c9k4hFIBVIPtP+xTZ8qsj///r2wCApwGd7u0vmKrTK9 opTQdOmdkGQv2TzgendKeoGq+I/V7ZqNOTOjTo7ATp0P9ftyknMzm+TwFHw+gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727756907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UIs5KyxQzWrtM6BDYo2d7sXFTBq//4vei7QXZvbHo2Y=; b=ONxYPZ99jqabhxt/aaZjNNCB5pblcGWktanGjbXPwKn/+Nxf3z3gDFNh2AMgeOQhKGVFWx iMohT+pFJXBV+IaBIxWW6A9mKtaTkzCcfpnGpdn2Pv2h15oCbnFlQP85/REAutJOFRFFSf f9KPw9C/H1wCpBB6p181H6ZG7GOJCuE3PBI+jjrtWD4k7PX2SzHOfK/etYW7lgMVjR3t7K +WNpEaXCM2uc0BVopvbKQWX96+/lIKZbepkPRbtJyYznpX645L++WBbbKkFdHhEvMnB3ga qSz+Zf7ryAWLQX//Zxu75O3NRYYuRhwxiCnIrgDVLvUrjskvm5LXWWyCKQyyNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727756907; a=rsa-sha256; cv=none; b=txYfLL1kLZiw+s8hKdcmQNmUEsQ+B4cHvTOcZBuLS7a0j8USoNYcQXCyhAZ7Yc1Ulz7wp5 mwNwaQMDUVdkyhzmJWKw+v2K95eBQ5JX+7uMx1eNemPIWAx+TkzPkPH8hQ8kh4BbkO/fU5 vF6bi0OHXm2GSFkji5TeR3LUSEb7CGY8J06zcO8kcofecQPfmd+Qowltu5qe6JTllyyKdV /4IklRWnmWsMxGUValvDN+VxmrUNCBML6vO9ZZoKkJr948WwvgxelpKF57OxyvcIRyl1ND /6N3cN95Rmxo1hnQ/wfEA69fGm90fg4tbwu6ukZssAI2kLs2vKl0Gl3xfmiY3g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XHlLM5nVKzMwk; Tue, 1 Oct 2024 04:28:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4914SRHW038931; Tue, 1 Oct 2024 04:28:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4914SRP3038928; Tue, 1 Oct 2024 04:28:27 GMT (envelope-from git) Date: Tue, 1 Oct 2024 04:28:27 GMT Message-Id: <202410010428.4914SRP3038928@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: b35f0aa4952c - main - stdio.h: don't expose rsize_t unless __EXT1_VISIBLE List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b35f0aa4952cf03f1b2093b110607c13dd2ec991 Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=b35f0aa4952cf03f1b2093b110607c13dd2ec991 commit b35f0aa4952cf03f1b2093b110607c13dd2ec991 Author: Graham Percival AuthorDate: 2024-09-30 16:37:59 +0000 Commit: Cy Schubert CommitDate: 2024-10-01 03:07:43 +0000 stdio.h: don't expose rsize_t unless __EXT1_VISIBLE PR: 281768 Fixes: c13559d31e90 MFC after: 1 week --- include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/stdio.h b/include/stdio.h index b0190d25eb4f..ee3ab3bfb986 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -48,10 +48,13 @@ typedef __size_t size_t; #define _SIZE_T_DECLARED #endif +#if __EXT1_VISIBLE +/* ISO/IEC 9899:2011 K.3.3.2 */ #ifndef _RSIZE_T_DEFINED #define _RSIZE_T_DEFINED typedef size_t rsize_t; #endif +#endif /* __EXT1_VISIBLE */ #if __POSIX_VISIBLE >= 200809 #ifndef _OFF_T_DECLARED