aboutsummaryrefslogtreecommitdiffstats
path: root/apps/version.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-03-13 14:07:50 +0100
committerFdaSilvaYY <fdasilvayy@gmail.com>2016-10-14 18:25:50 +0200
commit44c83ebd7089825a82545c9cacc4c4e2de81d001 (patch)
treeeae27fae044aedfa92aa31b114836f3b197de850 /apps/version.c
parent83bd048e9dbe5f376b2feaa7f0a6db6d98ef3a47 (diff)
downloadopenssl-44c83ebd7089825a82545c9cacc4c4e2de81d001.tar.gz
Constify command options
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1694)
Diffstat (limited to 'apps/version.c')
-rw-r--r--apps/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/version.c b/apps/version.c
index e3c8299fcf..28523b7bee 100644
--- a/apps/version.c
+++ b/apps/version.c
@@ -35,7 +35,7 @@ typedef enum OPTION_choice {
OPT_B, OPT_D, OPT_E, OPT_F, OPT_O, OPT_P, OPT_V, OPT_A
} OPTION_CHOICE;
-OPTIONS version_options[] = {
+const OPTIONS version_options[] = {
{"help", OPT_HELP, '-', "Display this summary"},
{"a", OPT_A, '-', "Show all data"},
{"b", OPT_B, '-', "Show build date"},