X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=9e40fb1d71cd09b86dd7fbfcb92248f6cb00548b;hb=dae4540e417e2bf72dd83b2713a670bde0056ba9;hp=8d3e877ad2379b661379a13fa28998127b3e5ecc;hpb=9793f862467407e83aa5b5a2cc35c25de9bae17b;p=petitboot diff --git a/discover/device-handler.c b/discover/device-handler.c index 8d3e877..9e40fb1 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -8,13 +8,13 @@ #include #include +#include #include #include "device-handler.h" #include "discover-server.h" #include "parser.h" #include "udev.h" -#include "log.h" #include "paths.h" #define MOUNT_BIN "/bin/mount" @@ -53,7 +53,8 @@ static struct device device = { .icon_file = "meep.png", }; -int device_handler_get_current_devices(struct device_handler *handler, +int device_handler_get_current_devices( + struct device_handler *handler __attribute__((unused)), struct device **devices) {