summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-28 07:43:44 +0000
committertjr <tjr@FreeBSD.org>2002-09-28 07:43:44 +0000
commit79f7c6df9ad682ea7f68fea69447b8aa16626f89 (patch)
treefec21277845a6002b681cb3657cfe09bf6cfe40c /include/wchar.h
parent609d82aa67bce900c025f86c5e2516ecaa8de7dd (diff)
downloadFreeBSD-src-79f7c6df9ad682ea7f68fea69447b8aa16626f89.zip
FreeBSD-src-79f7c6df9ad682ea7f68fea69447b8aa16626f89.tar.gz
Remove masking macros for getwc(), putwc(), putwchar() and getwchar().
Although there was nothing wrong with getwc() and putwc(), getwchar() and putwchar() assumed that <stdio.h> had been included before <wchar.h>, which is not allowed by the standard.
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 6a0de5e..6a85b4d 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -186,9 +186,4 @@ size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
#endif
__END_DECLS
-#define getwc(fp) fgetwc(fp)
-#define getwchar() fgetwc(stdin)
-#define putwc(wc, fp) fputwc((wc), (fp))
-#define putwchar(wc) fputwc((wc), stdout)
-
#endif /* !_WCHAR_H_ */
OpenPOWER on IntegriCloud