From: Andrei Zmievski Date: Fri, 6 Apr 2007 19:25:52 +0000 (+0000) Subject: We can't use the printf attribute here since we are supporting X-Git-Tag: php-5.2.2RC1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da4ba85cb4c4e384d020fd5e0b26997e9935f279;p=php We can't use the printf attribute here since we are supporting non-standard formats (like 'F'). --- diff --git a/main/snprintf.h b/main/snprintf.h index ef6757d166..9adf0d631f 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,