diff options
author | Sascha Schumann <sas@php.net> | 2003-08-28 05:23:08 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-08-28 05:23:08 +0000 |
commit | 5ef7cc4cb6b064828f1cd8d54eb97891142f9da4 (patch) | |
tree | 5007c71a82de70e4cca1f50c3c8d3240adc621b4 /main/spprintf.h | |
parent | 095efa09afdff99b50f9ec58d37e93587bd8dd48 (diff) | |
download | php-git-5ef7cc4cb6b064828f1cd8d54eb97891142f9da4.tar.gz |
Let GCC check format arguments
Diffstat (limited to 'main/spprintf.h')
-rw-r--r-- | main/spprintf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/spprintf.h b/main/spprintf.h index 0d7f9fba57..a07881c3ff 100644 --- a/main/spprintf.h +++ b/main/spprintf.h @@ -37,9 +37,9 @@ There is also snprintf: See difference explained in snprintf.h #include "snprintf.h" BEGIN_EXTERN_C() -PHPAPI extern int spprintf( char **pbuf, size_t max_len, const char *format, ...); +PHPAPI int spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4); -PHPAPI extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); +PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); END_EXTERN_C() #endif /* SNPRINTF_H */ |