summaryrefslogtreecommitdiff
path: root/gl/lib/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/heap.h')
-rw-r--r--gl/lib/heap.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gl/lib/heap.h b/gl/lib/heap.h
index b61adf619..cbfeb0494 100644
--- a/gl/lib/heap.h
+++ b/gl/lib/heap.h
@@ -20,14 +20,6 @@
#include <stddef.h>
-struct heap
-{
- void **array; /* array[0] is not used */
- size_t capacity; /* Array size */
- size_t count; /* Used as index to last element. Also is num of items. */
- int (*compare) (void const *, void const *);
-};
-
struct heap *heap_alloc (int (*) (void const *, void const *), size_t);
void heap_free (struct heap *);
int heap_insert (struct heap *heap, void *item);