]> sourceware.org Git - newlib-cygwin.git/commitdiff
ssp: fix wchar.h with -std=c99
authorYaakov Selkowitz <yselkowi@redhat.com>
Wed, 14 Mar 2018 15:40:27 +0000 (10:40 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 14 Mar 2018 15:46:32 +0000 (10:46 -0500)
https://sourceware.org/ml/newlib/2018/msg00261.html

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
newlib/libc/include/ssp/wchar.h

index 39033cf39cb2c9885616010616bf4293cfe93be8..d748fa2cffd2f04fbffaab80cd3e754d120b4316 100644 (file)
@@ -75,7 +75,7 @@ __ssp_redirect_raw(size_t, wcsnrtombs, \
     (__buf, __src, __nwc, __len, __ps), __buf != NULL, __ssp_bos)
 #endif
 
-__ssp_decl(wchar_t *, fgetws, (wchar_t *__restrict __buf, int __wlen, FILE *__restrict __fp))
+__ssp_decl(wchar_t *, fgetws, (wchar_t *__restrict __buf, int __wlen, __FILE *__restrict __fp))
 {
   if (__wlen > 0)
     __ssp_check(__buf, (size_t)__wlen * sizeof(wchar_t) , __ssp_bos);
@@ -83,7 +83,7 @@ __ssp_decl(wchar_t *, fgetws, (wchar_t *__restrict __buf, int __wlen, FILE *__re
 }
 
 #if __GNU_VISIBLE
-__ssp_decl(wchar_t *, fgetws_unlocked, (wchar_t *__buf, int __wlen, FILE *__fp))
+__ssp_decl(wchar_t *, fgetws_unlocked, (wchar_t *__buf, int __wlen, __FILE *__fp))
 {
   if (__wlen > 0)
     __ssp_check(__buf, (size_t)__wlen * sizeof(wchar_t) , __ssp_bos);
This page took 0.035435 seconds and 5 git commands to generate.