* timers_set_allocator - set malloc/free functions.
* @alloc: allocator to use
* @free: unallocator to use (@p is NULL or a return from @alloc)
- * @arg: argument to pass.
*
* This replaces the underlying malloc/free with these allocators.
* Setting either one to NULL restores the default allocators.
*/
-void timers_set_allocator(void *(*alloc)(size_t len, void *arg),
- void (*free)(const void *p, void *arg),
- void *arg);
+void timers_set_allocator(void *(*alloc)(struct timers *, size_t len),
+ void (*free)(struct timers *, void *p));
#ifdef CCAN_TIMER_DEBUG
#include <stdio.h>