summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2012-12-08 00:39:05 +0100
committerChristophe Jaillet <jailletc36@apache.org>2012-12-08 00:39:05 +0100
commitd275f854fa5db3ef8538fb003a488aad5588ea58 (patch)
tree295ca2df323755de766f491d18d2077c7a2ff435 /include
parentUse ap_rputs instead of ap_rvputs where applicable. (diff)
downloadapache2-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.h4
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.