#include <sys/stat.h>
#include <talloc/talloc.h>
+#include <log/log.h>
-#include "log.h"
#include "pb-protocol/pb-protocol.h"
#include "paths.h"
#include "params.h"
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;
return rc;
}
-struct parser kboot_parser = {
- .name = "kboot.conf parser",
- .priority = 98,
- .parse = parse
-};
+define_parser(kboot, 98, parse);