sniper          Thu Mar 31 02:39:42 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/main       snprintf.h 
  Log:
  MFH: c++ fix
  
http://cvs.php.net/diff.php/php-src/main/snprintf.h?r1=1.27.2.2&r2=1.27.2.3&ty=u
Index: php-src/main/snprintf.h
diff -u php-src/main/snprintf.h:1.27.2.2 php-src/main/snprintf.h:1.27.2.3
--- php-src/main/snprintf.h:1.27.2.2    Mon Nov 15 18:14:40 2004
+++ php-src/main/snprintf.h     Thu Mar 31 02:39:42 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: snprintf.h,v 1.27.2.2 2004/11/15 23:14:40 fmk Exp $ */
+/* $Id: snprintf.h,v 1.27.2.3 2005/03/31 07:39:42 sniper Exp $ */
 
 /*
 
@@ -64,19 +64,22 @@
 #ifndef SNPRINTF_H
 #define SNPRINTF_H
 
+BEGIN_EXTERN_C()
 PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) 
PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
+PHPAPI int ap_php_vsnprintf(char *, size_t, const char *, va_list ap) 
PHP_ATTRIBUTE_FORMAT(printf, 3, 0);
+PHPAPI int php_sprintf (char* s, const char* format, ...) 
PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
+END_EXTERN_C()
+
 #ifdef snprintf
 #undef snprintf
 #endif
 #define snprintf ap_php_snprintf
 
-PHPAPI int ap_php_vsnprintf(char *, size_t, const char *, va_list ap) 
PHP_ATTRIBUTE_FORMAT(printf, 3, 0);
 #ifdef vsnprintf
 #undef vsnprintf
 #endif
 #define vsnprintf ap_php_vsnprintf
 
-PHPAPI int php_sprintf (char* s, const char* format, ...) 
PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
 #ifdef sprintf
 #undef sprintf
 #endif

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to