Avoid "`sentinel' attribute directive ignored" warning with gcc 3.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1134906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Fritsch
2011-06-12 10:40:17 +00:00
parent e97995c4c7
commit 20633f6349
6 changed files with 18 additions and 11 deletions

View File

@ -285,7 +285,7 @@ AP_DECLARE(void) ap_update_mtime(request_rec *r, apr_time_t dependency_mtime);
* @return None.
*/
AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...)
__attribute__((sentinel));
ap_func_attr_sentinel;
/**
* Add one or more methods to the list permitted to access the resource.