diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-12-28 14:22:47 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-12-28 14:22:47 +0000 |
commit | c613ade64544cfd3f511b3b6724386ebf869796e (patch) | |
tree | 533d3af48fa20d3ff3789f2aaaa9dc694c8e5e8f /regress | |
parent | 1a28a30403dd99d5c09c404cdf08638d9a2f9b8d (diff) |
Update options regress to match option function pointer change.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/openssl/options/optionstest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/usr.bin/openssl/options/optionstest.c b/regress/usr.bin/openssl/options/optionstest.c index 8df208dc844..adfd49b4152 100644 --- a/regress/usr.bin/openssl/options/optionstest.c +++ b/regress/usr.bin/openssl/options/optionstest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optionstest.c,v 1.1 2014/12/28 14:01:33 jsing Exp $ */ +/* $OpenBSD: optionstest.c,v 1.2 2014/12/28 14:22:46 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -28,7 +28,7 @@ BIO *bio_err; CONF *config; -static int argfunc(struct option *opt, char *arg); +static int argfunc(char *arg); static struct { char *arg; @@ -44,7 +44,7 @@ static struct option test_options[] = { { .name = "argfunc", .type = OPTION_ARG_FUNC, - .func = argfunc, + .opt.argfunc = argfunc, }, { .name = "flag", @@ -156,7 +156,7 @@ struct options_test options_tests[] = { (sizeof(options_tests) / sizeof(*options_tests)) int -argfunc(struct option *opt, char *arg) +argfunc(char *arg) { test_config.arg = arg; return (0); |