summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-05-25 12:02:49 +0000
committertjr <tjr@FreeBSD.org>2004-05-25 12:02:49 +0000
commit81e79a3108560d5fb56a5467a3b318b429f73f10 (patch)
tree047fc74426f20f6eac135c5f261cd4751b46cc3a /include/wchar.h
parentae4655e3807c46124bd3da2c83f56daecd8d487a (diff)
downloadFreeBSD-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/wchar.h')
-rw-r--r--include/wchar.h2
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)
OpenPOWER on IntegriCloud