summaryrefslogtreecommitdiffstats
path: root/lib/nghttp2_pq.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nghttp2_pq.c')
-rw-r--r--lib/nghttp2_pq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/nghttp2_pq.c b/lib/nghttp2_pq.c
index bebccc7..64353ac 100644
--- a/lib/nghttp2_pq.c
+++ b/lib/nghttp2_pq.c
@@ -29,13 +29,12 @@
#include "nghttp2_helper.h"
-int nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem) {
+void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem) {
pq->mem = mem;
pq->capacity = 0;
pq->q = NULL;
pq->length = 0;
pq->less = less;
- return 0;
}
void nghttp2_pq_free(nghttp2_pq *pq) {