summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_output.h')
-rw-r--r--main/php_output.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/php_output.h b/main/php_output.h
index 9b6e568584..50448aca75 100644
--- a/main/php_output.h
+++ b/main/php_output.h
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2017 The PHP Group |
+ | Copyright (c) 1997-2018 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -159,8 +159,8 @@ PHPAPI ZEND_EXTERN_MODULE_GLOBALS(output)
#define PHPWRITE(str, str_len) php_output_write((str), (str_len))
#define PHPWRITE_H(str, str_len) php_output_write_unbuffered((str), (str_len))
-#define PUTC(c) (php_output_write((const char *) &(c), 1), (c))
-#define PUTC_H(c) (php_output_write_unbuffered((const char *) &(c), 1), (c))
+#define PUTC(c) php_output_write((const char *) &(c), 1)
+#define PUTC_H(c) php_output_write_unbuffered((const char *) &(c), 1)
#define PUTS(str) do { \
const char *__str = (str); \