aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-09-12 10:27:48 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-09-12 10:27:48 +0000
commit6b3015b6a61dedd58ca50db7cb60913b3d9c03d2 (patch)
tree763ce24c5bd0db0c99b954a94f5532bebdb6ef2d /include
parent3a67d8efd0214fff283fc0ebd3c7fcffdeeb26f4 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 89867ac746cd..f0fdb2cb7ae2 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -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_ */