Remove unused test function

This commit is contained in:
Patrick Pelissier committed 2023-04-04 01:06:32 +02:00
1 parent 100c0f22fe
commit 9354e9717d
1 file changed
+1 -5
+1 -5
View File
@@ -32,10 +32,6 @@ typedef struct test_s {
ILIST_INTERFACE (ilist_free, struct test_s);
} test_t;
static inline int test_cmp(const test_t *i1, const test_t *i2)
{
return i1->n < i2->n ? -1 : i1->n > i2->n;
}
static inline bool test_equal_p(const test_t *i1, const test_t *i2)
{
return i1->n == i2->n;
@@ -43,7 +39,7 @@ static inline bool test_equal_p(const test_t *i1, const test_t *i2)
#include "coverage.h"
START_COVERAGE
ILIST_DEF(ilist_tname, test_t, M_OPEXTEND(M_POD_OPLIST, CMP(API_6(test_cmp)), EQUAL(API_6(test_equal_p))))
ILIST_DEF(ilist_tname, test_t, M_OPEXTEND(M_POD_OPLIST, EQUAL(API_6(test_equal_p))))
END_COVERAGE
ILIST_DEF(ilist_free, test_t, (DEL(free)))