X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=8a4930e1efd565d8487f88875b26774adddcc882;hb=e48a0d17214a832cfcc42d937a26a4bbf732c25a;hp=7e5819c5bd972d8284a9f70ac1c9eb1efbb9d0bb;hpb=61679084243c471053b0b1b9865b40d721586958;p=petitboot diff --git a/discover/device-handler.c b/discover/device-handler.c index 7e5819c..8a4930e 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" @@ -55,7 +55,7 @@ static struct device device = { int device_handler_get_current_devices( struct device_handler *handler __attribute__((unused)), - struct device **devices) + const struct device **devices) { *devices = &device;