mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
Fix typo in previous: getwc() should call fgetwc(), not the function
version of itself. Noticed by: stefanf
This commit is contained in:
parent
df7593b5a4
commit
15f1cbdd6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129710
|
@ -174,7 +174,7 @@ int wscanf(const wchar_t * __restrict, ...);
|
|||
extern struct __sFILE *__stdinp;
|
||||
extern struct __sFILE *__stdoutp;
|
||||
|
||||
#define getwc(fp) getwc(fp)
|
||||
#define getwc(fp) fgetwc(fp)
|
||||
#define getwchar() fgetwc(__stdinp)
|
||||
#define putwc(wc, fp) fputwc(wc, fp)
|
||||
#define putwchar(wc) fputwc(wc, __stdoutp)
|
||||
|
|
Loading…
Reference in a new issue