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

index e8b62669aebfac24fb1c04a9a908e0a7f6992de2..456face14de7bc77f19a091d0915d9821c28ca97 100644 (file)
@@ -541,9 +541,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 b854cd4f01820d79c6600c23d58b5cf25a55977c..552251b2698adc029ffad3ecc93e6d0a3ea25cd7 100644 (file)
@@ -299,13 +299,15 @@ 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);
 PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...) 
        PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 5, PHP_ATTR_FMT_OFFSET + 6);
 
+#define php_error_docref php_error_docref0
+
 #define zenderror phperror
 #define zendlex phplex