summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2014-12-28 14:22:46 +0000
committerjsing <>2014-12-28 14:22:46 +0000
commit5ade357177e4113b5dd6f0948751027c829a4a96 (patch)
tree7f23d4aad7ac41c458762553320a4e13c7143910
parenta8ff639ef64a4a39745c3e48767ad1ae0daa8aae (diff)
downloadopenbsd-5ade357177e4113b5dd6f0948751027c829a4a96.tar.gz
openbsd-5ade357177e4113b5dd6f0948751027c829a4a96.tar.bz2
openbsd-5ade357177e4113b5dd6f0948751027c829a4a96.zip
Update options regress to match option function pointer change.
-rw-r--r--src/regress/usr.bin/openssl/options/optionstest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/usr.bin/openssl/options/optionstest.c b/src/regress/usr.bin/openssl/options/optionstest.c
index 8df208dc84..adfd49b415 100644
--- a/src/regress/usr.bin/openssl/options/optionstest.c
+++ b/src/regress/usr.bin/openssl/options/optionstest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: optionstest.c,v 1.1 2014/12/28 14:01:33 jsing Exp $ */ 1/* $OpenBSD: optionstest.c,v 1.2 2014/12/28 14:22:46 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -28,7 +28,7 @@
28BIO *bio_err; 28BIO *bio_err;
29CONF *config; 29CONF *config;
30 30
31static int argfunc(struct option *opt, char *arg); 31static int argfunc(char *arg);
32 32
33static struct { 33static struct {
34 char *arg; 34 char *arg;
@@ -44,7 +44,7 @@ static struct option test_options[] = {
44 { 44 {
45 .name = "argfunc", 45 .name = "argfunc",
46 .type = OPTION_ARG_FUNC, 46 .type = OPTION_ARG_FUNC,
47 .func = argfunc, 47 .opt.argfunc = argfunc,
48 }, 48 },
49 { 49 {
50 .name = "flag", 50 .name = "flag",
@@ -156,7 +156,7 @@ struct options_test options_tests[] = {
156 (sizeof(options_tests) / sizeof(*options_tests)) 156 (sizeof(options_tests) / sizeof(*options_tests))
157 157
158int 158int
159argfunc(struct option *opt, char *arg) 159argfunc(char *arg)
160{ 160{
161 test_config.arg = arg; 161 test_config.arg = arg;
162 return (0); 162 return (0);