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:
parent
308f6a8527
commit
a397c117c7
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue