summaryrefslogtreecommitdiff
path: root/queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/queue.c b/queue.c
index 5cff8fc4f..60d85965d 100644
--- a/queue.c
+++ b/queue.c
@@ -212,7 +212,8 @@ void init_InsSort(Queue* q) {
q->freeq = false;
}
-Queue* new_InsSort() {
+Queue* new_InsSort(void)
+{
Queue* q = malloc(sizeof(Queue));
init_InsSort(q);
q->freeq = true;