summaryrefslogtreecommitdiff
path: root/include/util_script.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_script.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_script.h')
-rw-r--r--include/util_script.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/util_script.h b/include/util_script.h
index 04511c9768..e019aaefd8 100644
--- a/include/util_script.h
+++ b/include/util_script.h
@@ -27,6 +27,7 @@
#define APACHE_UTIL_SCRIPT_H
#include "apr_buckets.h"
+#include "ap_config.h"
#ifdef __cplusplus
extern "C" {
@@ -123,7 +124,7 @@ AP_DECLARE_NONSTD(int) ap_scan_script_header_err_strs(request_rec *r,
char *buffer,
const char **termch,
int *termarg, ...)
- __attribute__((sentinel));
+ ap_func_attr_sentinel;
/**
* Read headers output from a script, ensuring that the output is valid. If