diff options
author | Stefan Fritsch <sf@apache.org> | 2011-06-04 21:00:16 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-06-04 21:00:16 +0200 |
commit | 328e833e414bce72b094f38df84296ae783da3a0 (patch) | |
tree | a7b2e6c094fe4882100d4f5a7372caafed8d2c6d /include/http_request.h | |
parent | Make ap_rputs an inline function, as it is mostly used with string constants (diff) | |
download | apache2-328e833e414bce72b094f38df84296ae783da3a0.tar.xz apache2-328e833e414bce72b094f38df84296ae783da3a0.zip |
Add __attribute__((sentinel)) to a few functions that require a terminal NULL
argument.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1131467 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_request.h')
-rw-r--r-- | include/http_request.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/http_request.h b/include/http_request.h index 43dd7c8c0b..e591f6ea2c 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -284,7 +284,8 @@ AP_DECLARE(void) ap_update_mtime(request_rec *r, apr_time_t dependency_mtime); * method name to add. * @return None. */ -AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...); +AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...) + __attribute__((sentinel)); /** * Add one or more methods to the list permitted to access the resource. |