serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kot...@apache.org
Subject svn commit: r1791833 - in /serf/trunk: buckets/brotli_buckets.c serf_bucket_types.h
Date Tue, 18 Apr 2017 20:19:31 GMT
Author: kotkov
Date: Tue Apr 18 20:19:31 2017
New Revision: 1791833

URL: http://svn.apache.org/viewvc?rev=1791833&view=rev
Log:
Following up on r1786654, properly declare the new API function,
serf_bucket_is_brotli_supported() as a function without arguments.

* serf_bucket_types.h
  (serf_bucket_is_brotli_supported): As above.

* buckets/brotli_buckets.c
  (serf_bucket_is_brotli_supported): As above.

Modified:
    serf/trunk/buckets/brotli_buckets.c
    serf/trunk/serf_bucket_types.h

Modified: serf/trunk/buckets/brotli_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/buckets/brotli_buckets.c?rev=1791833&r1=1791832&r2=1791833&view=diff
==============================================================================
--- serf/trunk/buckets/brotli_buckets.c (original)
+++ serf/trunk/buckets/brotli_buckets.c Tue Apr 18 20:19:31 2017
@@ -26,7 +26,7 @@
 
 #include <brotli/decode.h>
 
-int serf_bucket_is_brotli_supported()
+int serf_bucket_is_brotli_supported(void)
 {
     return TRUE;
 }
@@ -218,7 +218,7 @@ const serf_bucket_type_t serf_bucket_typ
 
 #else /* SERF_HAVE_BROTLI */
 
-int serf_bucket_is_brotli_supported()
+int serf_bucket_is_brotli_supported(void)
 {
     return FALSE;
 }

Modified: serf/trunk/serf_bucket_types.h
URL: http://svn.apache.org/viewvc/serf/trunk/serf_bucket_types.h?rev=1791833&r1=1791832&r2=1791833&view=diff
==============================================================================
--- serf/trunk/serf_bucket_types.h (original)
+++ serf/trunk/serf_bucket_types.h Tue Apr 18 20:19:31 2017
@@ -880,7 +880,7 @@ void serf_bucket_split_create(serf_bucke
  *
  * @since New in 1.4.
  */
-int serf_bucket_is_brotli_supported();
+int serf_bucket_is_brotli_supported(void);
 
 /** @since New in 1.4. */
 extern const serf_bucket_type_t serf_bucket_type_brotli_decompress;



Mime
View raw message