From da4ba85cb4c4e384d020fd5e0b26997e9935f279 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Fri, 6 Apr 2007 19:25:52 +0000 Subject: [PATCH] We can't use the printf attribute here since we are supporting non-standard formats (like 'F'). --- main/snprintf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/snprintf.h b/main/snprintf.h index ef6757d1665cb..9adf0d631ff6e 100644 --- a/main/snprintf.h +++ b/main/snprintf.h @@ -78,10 +78,10 @@ typedef enum { BEGIN_EXTERN_C() -PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4); -PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); -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 ap_php_slprintf(char *buf, size_t len, const char *format,...); +PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap); +PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...); +PHPAPI int ap_php_vsnprintf(char *, size_t, const char *, va_list ap); PHPAPI int php_sprintf (char* s, const char* format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); PHPAPI char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf); PHPAPI char * php_conv_fp(register char format, register double num,