Protect arguments to the putwc and putwchar macros with parens.

This commit is contained in:
Tim J. Robbins 2002-09-12 10:27:48 +00:00
parent 3a67d8efd0
commit 6b3015b6a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103246

View File

@ -163,7 +163,7 @@ __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 putwc(wc, fp) fputwc((wc), (fp))
#define putwchar(wc) fputwc((wc), stdout)
#endif /* !_WCHAR_H_ */