@@ -68,7 +68,7 @@ typedef struct {
6868AP_DECLARE (apr_status_t ) ap_cookie_write (request_rec * r , const char * name ,
6969 const char * val , const char * attrs ,
7070 long maxage , ...)
71- __attribute__(( sentinel )) ;
71+ ap_func_attr_sentinel ;
7272
7373/**
7474 * Write an RFC2965 compliant cookie.
@@ -85,7 +85,7 @@ AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name,
8585AP_DECLARE (apr_status_t ) ap_cookie_write2 (request_rec * r , const char * name2 ,
8686 const char * val , const char * attrs2 ,
8787 long maxage , ...)
88- __attribute__(( sentinel )) ;
88+ ap_func_attr_sentinel ;
8989
9090/**
9191 * Remove an RFC2109 compliant cookie.
@@ -99,7 +99,7 @@ AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2,
9999 */
100100AP_DECLARE (apr_status_t ) ap_cookie_remove (request_rec * r , const char * name ,
101101 const char * attrs , ...)
102- __attribute__(( sentinel )) ;
102+ ap_func_attr_sentinel ;
103103
104104/**
105105 * Remove an RFC2965 compliant cookie.
@@ -113,7 +113,7 @@ AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name,
113113 */
114114AP_DECLARE (apr_status_t ) ap_cookie_remove2 (request_rec * r , const char * name2 ,
115115 const char * attrs2 , ...)
116- __attribute__(( sentinel )) ;
116+ ap_func_attr_sentinel ;
117117
118118/**
119119 * Read a cookie called name, placing its value in val.
0 commit comments