mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix compiler errors about non-trivial designated initializers with GCC 7
This commit is contained in:
parent
c0adca20b4
commit
4cdc4f0564
1 changed files with 1 additions and 1 deletions
|
@ -62,11 +62,11 @@ typedef int (*cmp_cb_t)(const void *, const void *);
|
|||
|
||||
/* The list data structure. */
|
||||
struct vlist {
|
||||
enum state state; /**< The state of this list. */
|
||||
void **array; /**< Array of pointers to list elements */
|
||||
size_t capacity; /**< Size of list::array in elements */
|
||||
size_t length; /**< Number of elements of list::array which are in use */
|
||||
pthread_mutex_t lock; /**< A mutex to allow thread-safe accesses */
|
||||
enum state state; /**< The state of this list. */
|
||||
};
|
||||
|
||||
/** Initialize a list.
|
||||
|
|
Loading…
Add table
Reference in a new issue