Fix compile error with --enable-werror

This commit is contained in:
Tatsuhiro Tsujikawa
2015-04-25 02:23:01 +09:00
parent e38dd37667
commit c41f413978
6 changed files with 34 additions and 35 deletions

View File

@@ -116,6 +116,13 @@ struct nghttp2_outbound_item {
uint8_t queued;
};
/*
* Initializes |item|. No memory allocation is done in this function.
* Don't call nghttp2_outbound_item_free() until frame member is
* initialized.
*/
void nghttp2_outbound_item_init(nghttp2_outbound_item *item);
/*
* Deallocates resource for |item|. If |item| is NULL, this function
* does nothing.