summaryrefslogtreecommitdiff
path: root/src/include/prioq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/prioq.h')
-rw-r--r--src/include/prioq.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/include/prioq.h b/src/include/prioq.h
index 3547b1c..cbddd9b 100644
--- a/src/include/prioq.h
+++ b/src/include/prioq.h
@@ -1,14 +1,18 @@
#ifndef PRIOQ_H
#define PRIOQ_H
-#include "datetime.h"
#include "genalloc.h"
-struct prioq_elt { datetime_sec dt; unsigned long id; } ;
+#include "datetime.h"
+
+struct prioq_elt {
+ datetime_sec dt;
+ unsigned long id;
+};
-GEN_ALLOC_typedef(prioq,struct prioq_elt,p,len,a)
+GEN_ALLOC_typedef(prioq, struct prioq_elt, p, len, a)
-int prioq_insert();
+ int prioq_insert();
int prioq_min();
void prioq_delmin();