diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-03-14 10:40:27 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-03-14 10:46:32 -0500 |
commit | 829820af6e5bccefe93485023e93821807fb99b8 (patch) | |
tree | 7c77d36c07f894c5c30c710b3f1c9b37b282e09b | |
parent | e494b560350cabef94126a4478096aae89ae35a0 (diff) |
ssp: fix wchar.h with -std=c99
https://sourceware.org/ml/newlib/2018/msg00261.html
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
-rw-r--r-- | newlib/libc/include/ssp/wchar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/ssp/wchar.h b/newlib/libc/include/ssp/wchar.h index 39033cf39..d748fa2cf 100644 --- a/newlib/libc/include/ssp/wchar.h +++ b/newlib/libc/include/ssp/wchar.h @@ -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); |