timer: handle time going backwards.
[ccan] / ccan / opt / test / run-set_alloc.c
index 6a10d5979fca77d9e024fca95e962108ad66dbe4..1dbb351bedf41b0022a8abd26b3c0fbbc07ad445 100644 (file)
@@ -2,15 +2,15 @@
 #include <stdlib.h>
 
 /* Make sure we override these! */
-static void *no_malloc(size_t size)
+static void *no_malloc(size_t size UNNEEDED)
 {
        abort();
 }
-static void *no_realloc(void *p, size_t size)
+static void *no_realloc(void *p UNNEEDED, size_t size UNNEEDED)
 {
        abort();
 }
-static void no_free(void *p)
+static void no_free(void *p UNNEEDED)
 {
        abort();
 }