summaryrefslogtreecommitdiff
path: root/src/shared/prioq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/prioq.h')
-rw-r--r--src/shared/prioq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/prioq.h b/src/shared/prioq.h
index 1b5b05e7c7..17679b2aaf 100644
--- a/src/shared/prioq.h
+++ b/src/shared/prioq.h
@@ -27,6 +27,7 @@ typedef struct Prioq Prioq;
Prioq *prioq_new(compare_func_t compare);
void prioq_free(Prioq *q);
+int prioq_ensure_allocated(Prioq **q, compare_func_t compare_func);
int prioq_put(Prioq *q, void *data, unsigned *idx);
int prioq_remove(Prioq *q, void *data, unsigned *idx);