]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* include/util_filter.h (ap_fputstrs): Mark with sentinel attribute
authorJoe Orton <jorton@apache.org>
Fri, 12 Dec 2008 15:57:39 +0000 (15:57 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 12 Dec 2008 15:57:39 +0000 (15:57 +0000)
  for gcc >= 4.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@726060 13f79535-47bb-0310-9956-ffa450edef68

include/util_filter.h

index 2328aeb6524324126c20f1ed9ad067d7fc843330..80dd06d4839cbf155bd4e2cb5e28de194b490938 100644 (file)
@@ -531,7 +531,11 @@ AP_DECLARE(apr_status_t) ap_fflush(ap_filter_t *f, apr_bucket_brigade *bb);
  */
 AP_DECLARE_NONSTD(apr_status_t) ap_fputstrs(ap_filter_t *f,
                                             apr_bucket_brigade *bb,
-                                            ...);
+                                            ...)
+#if defined(__GNUC__) && __GNUC__ >= 4
+    __attribute__((sentinel))
+#endif
+;
 
 /**
  * Output data to the filter in printf format