mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
Protect arguments to the putwc and putwchar macros with parens.
This commit is contained in:
parent
3a67d8efd0
commit
6b3015b6a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103246
|
@ -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_ */
|
||||
|
|
Loading…
Reference in a new issue