summaryrefslogtreecommitdiffstats
path: root/discover/kboot-parser.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2009-02-01 11:19:19 +1100
committerJeremy Kerr <jk@ozlabs.org>2009-02-01 11:19:19 +1100
commit61679084243c471053b0b1b9865b40d721586958 (patch)
treee7e2784dd64a86ed413fe65301fb31bf071123b7 /discover/kboot-parser.c
parent9793f862467407e83aa5b5a2cc35c25de9bae17b (diff)
downloadtalos-petitboot-61679084243c471053b0b1b9865b40d721586958.zip
talos-petitboot-61679084243c471053b0b1b9865b40d721586958.tar.gz
Fix unused parameter warnings
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/kboot-parser.c')
-rw-r--r--discover/kboot-parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c
index f8cd61d..7124561 100644
--- a/discover/kboot-parser.c
+++ b/discover/kboot-parser.c
@@ -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;
OpenPOWER on IntegriCloud