diff --git a/include/wchar.h b/include/wchar.h index f0fdb2cb7ae..f4ce405d7e6 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -71,7 +71,7 @@ #include #ifndef NULL -#define NULL 0 +#define NULL 0 #endif #ifndef _MBSTATE_T_DECLARED @@ -162,8 +162,8 @@ int wcwidth(wchar_t); __END_DECLS #define getwc(fp) fgetwc(fp) -#define getwchar() fgetwc(stdin) -#define putwc(wc, fp) fputwc((wc), (fp)) -#define putwchar(wc) fputwc((wc), stdout) +#define getwchar() fgetwc(stdin) +#define putwc(wc, fp) fputwc((wc), (fp)) +#define putwchar(wc) fputwc((wc), stdout) #endif /* !_WCHAR_H_ */