summaryrefslogtreecommitdiff
path: root/include/util_cookies.h
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-06-12 10:40:17 +0000
committerStefan Fritsch <sf@apache.org>2011-06-12 10:40:17 +0000
commit20633f6349b980ca547c0600253594dbce34b29a (patch)
tree7ccb00f7b1edd104544e876f2eb6b8cb9f5169b7 /include/util_cookies.h
parente97995c4c764547400c71cc760ead89af25dcd75 (diff)
downloadhttpd-20633f6349b980ca547c0600253594dbce34b29a.tar.gz
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
Diffstat (limited to 'include/util_cookies.h')
-rw-r--r--include/util_cookies.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/util_cookies.h b/include/util_cookies.h
index 439d28926d..c424dc045d 100644
--- a/include/util_cookies.h
+++ b/include/util_cookies.h
@@ -68,7 +68,7 @@ typedef struct {
AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name,
const char *val, const char *attrs,
long maxage, ...)
- __attribute__((sentinel));
+ ap_func_attr_sentinel;
/**
* Write an RFC2965 compliant cookie.
@@ -85,7 +85,7 @@ AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name,
AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2,
const char *val, const char *attrs2,
long maxage, ...)
- __attribute__((sentinel));
+ ap_func_attr_sentinel;
/**
* Remove an RFC2109 compliant cookie.
@@ -99,7 +99,7 @@ AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2,
*/
AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name,
const char *attrs, ...)
- __attribute__((sentinel));
+ ap_func_attr_sentinel;
/**
* Remove an RFC2965 compliant cookie.
@@ -113,7 +113,7 @@ AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name,
*/
AP_DECLARE(apr_status_t) ap_cookie_remove2(request_rec * r, const char *name2,
const char *attrs2, ...)
- __attribute__((sentinel));
+ ap_func_attr_sentinel;
/**
* Read a cookie called name, placing its value in val.