Commit ac354d3b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix compile error with --enable-maintainer-mode

parent 873477d9
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
*/ */
#include "comp_helper.h" #include "comp_helper.h"
void dump_val(json_t *jent, const char *key, uint8_t *val, size_t len) static void dump_val(json_t *jent, const char *key, uint8_t *val, size_t len)
{ {
if(val == NULL) { if(val == NULL) {
json_object_set_new(jent, key, json_string("**DEALLOCATED**")); json_object_set_new(jent, key, json_string("**DEALLOCATED**"));
......
...@@ -101,7 +101,7 @@ static int inflate_hd(json_t *obj, nghttp2_hd_context *inflater, int seq) ...@@ -101,7 +101,7 @@ static int inflate_hd(json_t *obj, nghttp2_hd_context *inflater, int seq)
return 0; return 0;
} }
static int perform() static int perform(void)
{ {
nghttp2_hd_context inflater; nghttp2_hd_context inflater;
size_t i; size_t i;
......
...@@ -97,7 +97,7 @@ static nghttp2_hd_entry static_table[] = { ...@@ -97,7 +97,7 @@ static nghttp2_hd_entry static_table[] = {
/* 58 */ MAKE_NV("www-authenticate", "") /* 58 */ MAKE_NV("www-authenticate", "")
}; };
const static size_t STATIC_TABLE_LENGTH = static const size_t STATIC_TABLE_LENGTH =
sizeof(static_table)/sizeof(static_table[0]); sizeof(static_table)/sizeof(static_table[0]);
typedef struct { typedef struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment