Fix typo in previous: getwc() should call fgetwc(), not the function
version of itself. Noticed by: stefanf
This commit is contained in:
parent
ae4655e380
commit
81e79a3108
@ -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 New Issue
Block a user