diff options
author | tjr <tjr@FreeBSD.org> | 2002-09-28 07:43:44 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-09-28 07:43:44 +0000 |
commit | 79f7c6df9ad682ea7f68fea69447b8aa16626f89 (patch) | |
tree | fec21277845a6002b681cb3657cfe09bf6cfe40c /include/wchar.h | |
parent | 609d82aa67bce900c025f86c5e2516ecaa8de7dd (diff) | |
download | FreeBSD-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.h | 5 |
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_ */ |