From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id D5E96385843A; Thu, 10 Mar 2022 19:20:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D5E96385843A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] libio/bits/stdio2.h fix X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 515e6c3102f1bc3cf21b19479a9451eae4a9d2ff X-Git-Newrev: e4d34c7e5be9f049c6ee9b65091fc93ef8bc414a Message-Id: <20220310192020.D5E96385843A@sourceware.org> Date: Thu, 10 Mar 2022 19:20:20 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2022 19:20:20 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e4d34c7e5be9f049c6ee9b65091fc93ef8bc414a commit e4d34c7e5be9f049c6ee9b65091fc93ef8bc414a Author: Adhemerval Zanella Date: Tue Mar 8 17:30:31 2022 -0300 libio/bits/stdio2.h fix Diff: --- libio/bits/stdio2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libio/bits/stdio2.h b/libio/bits/stdio2.h index 0fdd645875..de7f1f04aa 100644 --- a/libio/bits/stdio2.h +++ b/libio/bits/stdio2.h @@ -96,6 +96,8 @@ __NTH (vsnprintf (char *__restrict __s, size_t __n, __glibc_objsize (__s), __fmt, __ap); } +#endif + #if __USE_FORTIFY_LEVEL > 1 extern int __REDIRECT_LDBL (__fprintf_chk, (FILE *__restrict __stream, int __flag, @@ -164,7 +166,6 @@ extern int __REDIRECT_LDBL (__vdprintf_chk, (int __fd, int __flag, __gnuc_va_list __arg), __vdprintf_chkieee128, __nldbl___vdprintf_chk) __attribute__ ((__format__ (__printf__, 3, 0))); -# endif # ifdef __va_arg_pack __fortify_function int