X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_api.h;h=bd229e3f4d11c0798fe0fe7f388581b8af25be25;hp=1924f96fe290b8197242a587db34b5c3e295d062;hb=d07df3421e591d06d0bc000fabf49d6987a8bcd5;hpb=ab29a31d9129a377cdd664de08cb2bf86a72be1b;ds=sidebyside diff --git a/php_http_api.h b/php_http_api.h index 1924f96..bd229e3 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -33,7 +33,7 @@ extern STATUS _http_parse_key_list(const char *list, HashTable *items, char sepa #define http_error(type, code, string) _http_error_ex(type, code, "%s", string) #define http_error_ex _http_error_ex -extern void _http_error_ex(long type, long code, const char *format, ...); +extern void _http_error_ex(long type, long code, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4); #define http_exit(s, h) http_exit_ex((s), (h), 1) #define http_exit_ex(s, h, f) _http_exit_ex((s), (h), (f) TSRMLS_CC)