Commit 41adb5c0 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix compiler errors about non-trivial designated initializers with GCC 7

parent 3e3c507e
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment