From 44c83ebd7089825a82545c9cacc4c4e2de81d001 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Sun, 13 Mar 2016 14:07:50 +0100 Subject: Constify command options Reviewed-by: Kurt Roeckx Reviewed-by: Richard Levitte Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1694) --- apps/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/version.c') 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"}, -- cgit v1.2.3