summaryrefslogtreecommitdiff
path: root/futility/cmd_dev_sign_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/cmd_dev_sign_file.c')
-rw-r--r--futility/cmd_dev_sign_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/futility/cmd_dev_sign_file.c b/futility/cmd_dev_sign_file.c
index 3b2b640b..f377ff47 100644
--- a/futility/cmd_dev_sign_file.c
+++ b/futility/cmd_dev_sign_file.c
@@ -36,7 +36,7 @@ enum {
OPT_VBLOCK,
};
-static struct option long_opts[] = {
+static const struct option long_opts[] = {
{"sign", 1, 0, OPT_MODE_SIGN },
{"verify", 1, 0, OPT_MODE_VERIFY },
{"keyblock", 1, 0, OPT_KEYBLOCK },
@@ -274,7 +274,7 @@ static int Verify(const char* filename, const char* vblock_file,
}
-int do_dev_sign_file(int argc, char* argv[]) {
+static int do_dev_sign_file(int argc, char* argv[]) {
char* filename = NULL;
char* keyblock_file = NULL;
char* signprivate_file = NULL;