summaryrefslogtreecommitdiff
path: root/src/include/prioq.h
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
commita6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (patch)
treeb88cc7a8457658d67e0321718556ac807f6bccf3 /src/include/prioq.h
parent00be7622c428f279872f84569f098ce16150f8a8 (diff)
format files
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();