1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-09 15:21:02 +03:00

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
This commit is contained in:
Stefan Fritsch
2011-06-04 19:00:16 +00:00
parent cdb37c5e4d
commit 328e833e41
4 changed files with 20 additions and 9 deletions

View File

@@ -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.