git: b35f0aa4952c - main - stdio.h: don't expose rsize_t unless __EXT1_VISIBLE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Oct 2024 04:28:27 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=b35f0aa4952cf03f1b2093b110607c13dd2ec991 commit b35f0aa4952cf03f1b2093b110607c13dd2ec991 Author: Graham Percival <gperciva@tarsnap.com> AuthorDate: 2024-09-30 16:37:59 +0000 Commit: Cy Schubert <cy@FreeBSD.org> 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