summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2019-07-13 02:05:17 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-07-13 02:05:17 +0200
commit1c1de0c41a74b4deadd11cb18f00f115db0568ec (patch)
tree21bf6e0bb1993a0dd7bb304a3abca026cc7ab7a8 /main/php.h
parent33994ebd95c3c42b0dca4e0f161692ecee7d741b (diff)
downloadphp-git-1c1de0c41a74b4deadd11cb18f00f115db0568ec.tar.gz
Convert all php_error_docref0 to php_error_docref
Closes GH-4394
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/php.h b/main/php.h
index 4bc054539c..f8b1a3ca8e 100644
--- a/main/php.h
+++ b/main/php.h
@@ -339,7 +339,7 @@ static inline ZEND_ATTRIBUTE_DEPRECATED void php_std_error_handling() {}
PHPAPI ZEND_COLD void php_verror(const char *docref, const char *params, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 4, 0);
/* PHPAPI void php_error(int type, const char *format, ...); */
-PHPAPI ZEND_COLD void php_error_docref0(const char *docref, int type, const char *format, ...)
+PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
PHPAPI ZEND_COLD void php_error_docref1(const char *docref, const char *param1, int type, const char *format, ...)
PHP_ATTRIBUTE_FORMAT(printf, 4, 5);
@@ -350,8 +350,6 @@ PHPAPI ZEND_COLD void php_win32_docref2_from_error(DWORD error, const char *para
#endif
END_EXTERN_C()
-#define php_error_docref php_error_docref0
-
#define zenderror phperror
#define zendlex phplex