X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fkboot-parser.c;h=930fbe49897cd51193762076b08d693783b7cd5a;hb=73df817d55376240d17ced8c2b6d89c4f17c4a63;hp=f8cd61d5b2e66a2cd971265cdcecccd6822d9af3;hpb=89ccc8e6dc81bc1d613454b9944c2f3324d43e2a;p=petitboot diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c index f8cd61d..930fbe4 100644 --- a/discover/kboot-parser.c +++ b/discover/kboot-parser.c @@ -11,8 +11,8 @@ #include #include +#include -#include "log.h" #include "pb-protocol/pb-protocol.h" #include "paths.h" #include "params.h" @@ -117,7 +117,9 @@ static int check_for_global_option(struct kboot_context *ctx, return 0; } -static char *get_global_option(struct kboot_context *ctx, const char *name) +static char *get_global_option( + struct kboot_context *ctx __attribute__((unused)), + const char *name) { int i;