diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2012-12-08 00:39:05 +0100 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2012-12-08 00:39:05 +0100 |
commit | d275f854fa5db3ef8538fb003a488aad5588ea58 (patch) | |
tree | 295ca2df323755de766f491d18d2077c7a2ff435 /include | |
parent | Use ap_rputs instead of ap_rvputs where applicable. (diff) | |
download | apache2-d275f854fa5db3ef8538fb003a488aad5588ea58.tar.xz apache2-d275f854fa5db3ef8538fb003a488aad5588ea58.zip |
Add some __attribute__ for automatic format checking.
Correct one catch in sed0.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1418556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/util_filter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/util_filter.h b/include/util_filter.h index 5f6f9afab6..8b3c7a8487 100644 --- a/include/util_filter.h +++ b/include/util_filter.h @@ -332,8 +332,8 @@ AP_DECLARE(apr_status_t) ap_pass_brigade(ap_filter_t *filter, AP_DECLARE(apr_status_t) ap_pass_brigade_fchk(request_rec *r, apr_bucket_brigade *bucket, const char *fmt, - ...); - + ...) + __attribute__((format(printf,3,4))); /** * This function is used to register an input filter with the system. |