X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun-notifier.c;h=3820444f86f8245c38ffb9817f8d6cb38de506d1;hp=b57c902e80ba9c3b7ec6a9ea285b4c0be0b40419;hb=ad2ce76c10f808283ea7cf25cd8e76a15710c4f3;hpb=d61a0d6c2c9d2b385075338665d64ae1d1bbe3dc diff --git a/ccan/tal/test/run-notifier.c b/ccan/tal/test/run-notifier.c index b57c902e..3820444f 100644 --- a/ccan/tal/test/run-notifier.c +++ b/ccan/tal/test/run-notifier.c @@ -20,7 +20,7 @@ static void *my_realloc(void *old, size_t size) return new; } -static void notify1(char *p, enum tal_notify_type notify, void *info) +static void notify1(char *p UNNEEDED, enum tal_notify_type notify, void *info) { ok1(ctx == ctx); ok1(notify == expect); @@ -31,7 +31,9 @@ static void notify1(char *p, enum tal_notify_type notify, void *info) notified1++; } -static void notify2(char *ctx, enum tal_notify_type notify, void *info) +static void notify2(char *ctx UNNEEDED, + enum tal_notify_type notify UNNEEDED, + void *info UNNEEDED) { notified2++; }