Fix typo in previous: getwc() should call fgetwc(), not the function

version of itself.

Noticed by:	stefanf
This commit is contained in:
Tim J. Robbins 2004-05-25 12:02:49 +00:00
parent df7593b5a4
commit 15f1cbdd6a

View File

@ -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)