httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r726060 - /httpd/httpd/trunk/include/util_filter.h
Date Fri, 12 Dec 2008 15:57:39 GMT
Author: jorton
Date: Fri Dec 12 07:57:39 2008
New Revision: 726060

URL: http://svn.apache.org/viewvc?rev=726060&view=rev
Log:
* include/util_filter.h (ap_fputstrs): Mark with sentinel attribute
  for gcc >= 4.

Modified:
    httpd/httpd/trunk/include/util_filter.h

Modified: httpd/httpd/trunk/include/util_filter.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/util_filter.h?rev=726060&r1=726059&r2=726060&view=diff
==============================================================================
--- httpd/httpd/trunk/include/util_filter.h (original)
+++ httpd/httpd/trunk/include/util_filter.h Fri Dec 12 07:57:39 2008
@@ -531,7 +531,11 @@
  */
 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



Mime
View raw message