summaryrefslogtreecommitdiff
path: root/main/snprintf.h
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2007-04-06 19:25:52 +0000
committerAndrei Zmievski <andrei@php.net>2007-04-06 19:25:52 +0000
commitda4ba85cb4c4e384d020fd5e0b26997e9935f279 (patch)
tree97e16e0808e86a004f4f383452cc40457ef1e304 /main/snprintf.h
parentfb2def7d97c6e30a71734463d5c2762c7638cc26 (diff)
downloadphp-git-da4ba85cb4c4e384d020fd5e0b26997e9935f279.tar.gz
We can't use the printf attribute here since we are supporting
non-standard formats (like 'F').
Diffstat (limited to 'main/snprintf.h')
-rw-r--r--main/snprintf.h8
1 files changed, 4 insertions, 4 deletions
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,