X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/1e64e9fbf7c8029420562eef6da3d7111e763505..8e3fe3d8ea9f5e75b6f1be4e4ae8cf2c16db88e3:/lib/test.c diff --git a/lib/test.c b/lib/test.c index ed90183..b2e1dc5 100644 --- a/lib/test.c +++ b/lib/test.c @@ -380,6 +380,7 @@ static inline int int_lt(int a, int b) { return a < b; } /** @struct iheap * @brief A heap with @c int elements */ HEAP_TYPE(iheap, int, int_lt); +HEAP_DEFINE(iheap, int, int_lt); /** @brief Tests for @ref heap.h */ static void test_heap(void) {