From a397c117c729803c829b3f1f3fd6dfaf6d398edc Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 7 Mar 2017 06:36:40 -0400 Subject: [PATCH] fixed compilation of list unit tests --- tests/list.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/list.c b/tests/list.c index 226c5b44d..591711aaa 100644 --- a/tests/list.c +++ b/tests/list.c @@ -71,11 +71,13 @@ struct content { int destroyed; }; -static void dtor(void *ptr) +static int dtor(void *ptr) { struct content *elm = (struct content *) ptr; elm->destroyed = 1; + + return 0; } Test(list, destructor)