From bc8d7db132e8ba050dd6707a72cea5d3b6976e03 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sun, 14 Jul 2019 03:30:46 +0000 Subject: Mark the initialized struct options arrays as both static and const. This moves them from .data to .data.rel.ro ok deraadt@ inoguchi@ --- src/usr.bin/openssl/apps.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/usr.bin/openssl/apps.h') diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h index bb2340a545..48e5ba3adb 100644 --- a/src/usr.bin/openssl/apps.h +++ b/src/usr.bin/openssl/apps.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apps.h,v 1.22 2019/02/09 06:27:37 inoguchi Exp $ */ +/* $OpenBSD: apps.h,v 1.23 2019/07/14 03:30:45 guenther Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -317,9 +317,9 @@ struct option { const int value; }; -void options_usage(struct option *opts); -int options_parse(int argc, char **argv, struct option *opts, char **unnamed, - int *argsused); +void options_usage(const struct option *opts); +int options_parse(int argc, char **argv, const struct option *opts, + char **unnamed, int *argsused); void show_cipher(const OBJ_NAME *name, void *arg); -- cgit v1.2.3-55-g6feb