mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
This commit is contained in:
parent
67e23f4be3
commit
1616038698
92 changed files with 261 additions and 257 deletions
|
@ -232,7 +232,7 @@ struct _sapi_module_struct {
|
|||
zend_stat_t *(*get_stat)(void);
|
||||
char *(*getenv)(char *name, size_t name_len);
|
||||
|
||||
void (*sapi_error)(int type, const char *error_msg, ...);
|
||||
void (*sapi_error)(int type, const char *error_msg, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
|
||||
|
||||
int (*header_handler)(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_headers_struct *sapi_headers);
|
||||
int (*send_headers)(sapi_headers_struct *sapi_headers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue