diff options
Diffstat (limited to 'libtrivfs/dyn-classes.c')
-rw-r--r-- | libtrivfs/dyn-classes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/dyn-classes.c b/libtrivfs/dyn-classes.c index edc13a0f..ad72192b 100644 --- a/libtrivfs/dyn-classes.c +++ b/libtrivfs/dyn-classes.c @@ -23,7 +23,7 @@ /* Auxiliary info for each vector element. */ struct aux { - void (*free_el)(); + void (*free_el)(void *); unsigned refs; }; @@ -63,7 +63,7 @@ static pthread_mutex_t dyn_lock = PTHREAD_MUTEX_INITIALIZER; cases: (1) An error is encountered trying to grow one of the vectors, (2) when the element is eventually freed by drop_el. */ static error_t -add_el (void *el, void (*free_el)(), +add_el (void *el, void (*free_el)(void *), void *vec_v, struct aux **aux_vec, size_t *sz, size_t *num) { |