summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/prioq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/prioq.h b/src/shared/prioq.h
index 4a206a3e59..d836b36cd9 100644
--- a/src/shared/prioq.h
+++ b/src/shared/prioq.h
@@ -25,6 +25,8 @@
typedef struct Prioq Prioq;
+#define PRIOQ_IDX_NULL ((unsigned) -1)
+
Prioq *prioq_new(compare_func_t compare);
void prioq_free(Prioq *q);
int prioq_ensure_allocated(Prioq **q, compare_func_t compare_func);