diff options
Diffstat (limited to 'ui/test/pb-test.c')
-rw-r--r-- | ui/test/pb-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |