]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Tue, 8 Mar 2005 21:45:38 +0000 (21:45 +0000)
committerfoobar <sniper@php.net>
Tue, 8 Mar 2005 21:45:38 +0000 (21:45 +0000)
main/main.c
main/php.h

index 5b13943a5d22e20912d5f7efe2d5c4d1d9128eb5..7e42c3b3af7f9228977e0d9457fa2d03c9b79a93 100644 (file)
@@ -549,9 +549,9 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
 }
 /* }}} */
 
-/* {{{ php_error_docref */
+/* {{{ php_error_docref0 */
 /* See: CODING_STANDARDS for details. */
-PHPAPI void php_error_docref(const char *docref TSRMLS_DC, int type, const char *format, ...)
+PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...)
 {
        va_list args;
        
index 71069906331d295462a24a1b1aa04f888889627a..0ee8d0f65ba3b54cdef15a90a31f45fedb846b88 100644 (file)
@@ -320,7 +320,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
 #endif
 
 /* PHPAPI void php_error(int type, const char *format, ...); */
-PHPAPI void php_error_docref(const char *docref TSRMLS_DC, int type, const char *format, ...)
+PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...)
        PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 3, PHP_ATTR_FMT_OFFSET + 4);
 PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...)
        PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 4, PHP_ATTR_FMT_OFFSET + 5);
@@ -328,6 +328,8 @@ PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1,
        PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 5, PHP_ATTR_FMT_OFFSET + 6);
 END_EXTERN_C()
 
+#define php_error_docref php_error_docref0
+
 #define zenderror phperror
 #define zendlex phplex