X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Ftest%2Fpb-test.c;h=f3ef746de2382488fc40c469dcbe0e39c37383da;hp=69f65fb6ec018f0ff344b35614f0d6895a8ecc63;hb=6fd6d956ae55e755e2116d86942c62767df033de;hpb=e058e90117300125af7b6e93eb0e5aeb23543af9 diff --git a/ui/test/pb-test.c b/ui/test/pb-test.c index 69f65fb..f3ef746 100644 --- a/ui/test/pb-test.c +++ b/ui/test/pb-test.c @@ -3,7 +3,7 @@ #include "ui/common/discover-client.h" -static int print_device_add(const struct device *device, +static int print_device_add(struct device *device, void __attribute__((unused)) *arg) { struct boot_option *opt; @@ -28,7 +28,7 @@ static int print_device_add(const struct device *device, return 0; } -static void print_device_remove(const struct device *device, +static void print_device_remove(struct device *device, void __attribute__((unused)) *arg) { printf("removed device:\n");