Author: rhuijben
Date: Sun Nov 1 16:14:09 2015
New Revision: 1711823
URL: http://svn.apache.org/viewvc?rev=1711823&view=rev
Log:
Following up on r1711822, fix an error and a few more warnings.
* buckets/hpack_buckets.c
(serf_bucket_hpack_getc): Rename to...
(serf__bucket_hpack_getc): ... this to match name in .h file.
(serf_bucket_hpack_do): Rename to...
(serf__bucket_hpack_do): ... this to match name in .h file.
* protocols/http2_protocol.h
(serf_http2__allocate_stream_id): Fix prototype.
Modified:
serf/trunk/buckets/hpack_buckets.c
serf/trunk/protocols/http2_protocol.h
Modified: serf/trunk/buckets/hpack_buckets.c
URL:
http://svn.apache.org/viewvc/serf/trunk/buckets/hpack_buckets.c?rev=1711823&r1=1711822&r2=1711823&view=diff
==============================================================================
--- serf/trunk/buckets/hpack_buckets.c (original)
+++ serf/trunk/buckets/hpack_buckets.c Sun Nov 1 16:14:09 2015
@@ -709,8 +709,8 @@ serf__bucket_hpack_setx(serf_bucket_t *h
ctx->first = ctx->last = entry;
}
-const char *serf_bucket_hpack_getc(serf_bucket_t *hpack_bucket,
- const char *key)
+const char *serf__bucket_hpack_getc(serf_bucket_t *hpack_bucket,
+ const char *key)
{
serf_hpack_context_t *ctx = hpack_bucket->data;
serf_hpack_entry_t *entry;
@@ -728,9 +728,9 @@ const char *serf_bucket_hpack_getc(serf_
return NULL;
}
-void serf_bucket_hpack_do(serf_bucket_t *hpack_bucket,
- serf_bucket_hpack_do_callback_fn_t func,
- void *baton)
+void serf__bucket_hpack_do(serf_bucket_t *hpack_bucket,
+ serf_bucket_hpack_do_callback_fn_t func,
+ void *baton)
{
serf_hpack_context_t *ctx = hpack_bucket->data;
serf_hpack_entry_t *entry;
Modified: serf/trunk/protocols/http2_protocol.h
URL:
http://svn.apache.org/viewvc/serf/trunk/protocols/http2_protocol.h?rev=1711823&r1=1711822&r2=1711823&view=diff
==============================================================================
--- serf/trunk/protocols/http2_protocol.h (original)
+++ serf/trunk/protocols/http2_protocol.h Sun Nov 1 16:14:09 2015
@@ -175,7 +175,7 @@ serf_http2__enqueue_stream_reset(serf_ht
Passed to serf__bucket_http2_frame_create when writing for
a stream.
*/
-apr_int32_t
+void
serf_http2__allocate_stream_id(void *baton,
apr_int32_t *streamid);