diff options
author | tjr <tjr@FreeBSD.org> | 2004-05-25 12:02:49 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-05-25 12:02:49 +0000 |
commit | 81e79a3108560d5fb56a5467a3b318b429f73f10 (patch) | |
tree | 047fc74426f20f6eac135c5f261cd4751b46cc3a /include | |
parent | ae4655e3807c46124bd3da2c83f56daecd8d487a (diff) | |
download | FreeBSD-src-81e79a3108560d5fb56a5467a3b318b429f73f10.zip FreeBSD-src-81e79a3108560d5fb56a5467a3b318b429f73f10.tar.gz |
Fix typo in previous: getwc() should call fgetwc(), not the function
version of itself.
Noticed by: stefanf
Diffstat (limited to 'include')
-rw-r--r-- | include/wchar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h index ea4bd12..18398c4 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -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) |