diff options
-rw-r--r-- | src/regress/usr.bin/openssl/options/optionstest.c | 8 |
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 @@ | |||
28 | BIO *bio_err; | 28 | BIO *bio_err; |
29 | CONF *config; | 29 | CONF *config; |
30 | 30 | ||
31 | static int argfunc(struct option *opt, char *arg); | 31 | static int argfunc(char *arg); |
32 | 32 | ||
33 | static struct { | 33 | static 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 | ||
158 | int | 158 | int |
159 | argfunc(struct option *opt, char *arg) | 159 | argfunc(char *arg) |
160 | { | 160 | { |
161 | test_config.arg = arg; | 161 | test_config.arg = arg; |
162 | return (0); | 162 | return (0); |