1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fixed compilation of list unit tests

This commit is contained in:
Steffen Vogel 2017-03-07 06:36:40 -04:00
parent 308f6a8527
commit a397c117c7

View file

@ -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)