summaryrefslogtreecommitdiff
path: root/futility/cmd_dump_kernel_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/cmd_dump_kernel_config.c')
-rw-r--r--futility/cmd_dump_kernel_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/futility/cmd_dump_kernel_config.c b/futility/cmd_dump_kernel_config.c
index 2d15f99f..a6e987e2 100644
--- a/futility/cmd_dump_kernel_config.c
+++ b/futility/cmd_dump_kernel_config.c
@@ -18,7 +18,7 @@ enum {
OPT_KLOADADDR = 1000,
};
-static struct option long_opts[] = {
+static const struct option long_opts[] = {
{ "kloadaddr", 1, NULL, OPT_KLOADADDR },
{ NULL, 0, NULL, 0 }
};
@@ -34,7 +34,7 @@ static int PrintHelp(void) {
return 1;
}
-int do_dump_kernel_config(int argc, char* argv[]) {
+static int do_dump_kernel_config(int argc, char* argv[]) {
char *infile = NULL;
char *config = NULL;
uint64_t kernel_body_load_address = USE_PREAMBLE_LOAD_ADDR;