diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-23 11:39:30 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-23 11:39:30 +0000 |
commit | 1f77355c618a878d41d4b6700a8d96c3d551ad65 (patch) | |
tree | 5889191f076a7fee27d776a40e31edf6ce71874a /usr.bin/openssl | |
parent | d372f45bf4ee3935df2882b49159913e6bc20312 (diff) |
sprinkle some void between () in function definitions
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r-- | usr.bin/openssl/apps.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/asn1pars.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/dhparam.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/genpkey.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/pkcs7.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/pkcs8.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/pkey.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/pkeyparam.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/pkeyutl.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/prime.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/rand.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/rsa.c | 4 | ||||
-rw-r--r-- | usr.bin/openssl/rsautl.c | 4 |
13 files changed, 26 insertions, 26 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c index 44b304a98b7..70857e0423e 100644 --- a/usr.bin/openssl/apps.c +++ b/usr.bin/openssl/apps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apps.c,v 1.65 2023/06/11 12:35:00 jsg Exp $ */ +/* $OpenBSD: apps.c,v 1.66 2023/07/23 11:39:29 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -1064,7 +1064,7 @@ load_config(BIO *err, CONF *cnf) } char * -make_config_name() +make_config_name(void) { const char *t = X509_get_default_cert_area(); char *p; diff --git a/usr.bin/openssl/asn1pars.c b/usr.bin/openssl/asn1pars.c index 3eac72cb668..6b998423309 100644 --- a/usr.bin/openssl/asn1pars.c +++ b/usr.bin/openssl/asn1pars.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1pars.c,v 1.15 2023/03/10 09:44:54 tb Exp $ */ +/* $OpenBSD: asn1pars.c,v 1.16 2023/07/23 11:39:29 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -221,7 +221,7 @@ static const struct option asn1pars_options[] = { }; static void -asn1pars_usage() +asn1pars_usage(void) { fprintf(stderr, "usage: asn1parse [-i] [-dlimit num] [-dump] [-genconf file] " diff --git a/usr.bin/openssl/dhparam.c b/usr.bin/openssl/dhparam.c index 0542464d7bb..00bf6972642 100644 --- a/usr.bin/openssl/dhparam.c +++ b/usr.bin/openssl/dhparam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhparam.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: dhparam.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -222,7 +222,7 @@ static const struct option dhparam_options[] = { }; static void -dhparam_usage() +dhparam_usage(void) { fprintf(stderr, "usage: dhparam [-2 | -5] [-C] [-check] [-dsaparam]\n" diff --git a/usr.bin/openssl/genpkey.c b/usr.bin/openssl/genpkey.c index e2445c14333..10c5b0f6625 100644 --- a/usr.bin/openssl/genpkey.c +++ b/usr.bin/openssl/genpkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: genpkey.c,v 1.16 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: genpkey.c,v 1.17 2023/07/23 11:39:29 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ @@ -206,7 +206,7 @@ static const struct option genpkey_options[] = { }; static void -genpkey_usage() +genpkey_usage(void) { fprintf(stderr, "usage: genpkey [-algorithm alg] [cipher] [-genparam] [-out file]\n" diff --git a/usr.bin/openssl/pkcs7.c b/usr.bin/openssl/pkcs7.c index 4e66855a8d2..da30e23e65d 100644 --- a/usr.bin/openssl/pkcs7.c +++ b/usr.bin/openssl/pkcs7.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkcs7.c,v 1.14 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: pkcs7.c,v 1.15 2023/07/23 11:39:29 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -138,7 +138,7 @@ static const struct option pkcs7_options[] = { }; static void -pkcs7_usage() +pkcs7_usage(void) { fprintf(stderr, "usage: pkcs7 [-in file] " "[-inform DER | PEM] [-noout]\n" diff --git a/usr.bin/openssl/pkcs8.c b/usr.bin/openssl/pkcs8.c index d78202e03f7..9776b910522 100644 --- a/usr.bin/openssl/pkcs8.c +++ b/usr.bin/openssl/pkcs8.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkcs8.c,v 1.16 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: pkcs8.c,v 1.17 2023/07/23 11:39:29 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999-2004. */ @@ -184,7 +184,7 @@ static const struct option pkcs8_options[] = { }; static void -pkcs8_usage() +pkcs8_usage(void) { fprintf(stderr, "usage: pkcs8 [-in file] [inform der | pem] " "[-nocrypt] [-noiter]\n" diff --git a/usr.bin/openssl/pkey.c b/usr.bin/openssl/pkey.c index cb558f5ac86..47fa2dd3622 100644 --- a/usr.bin/openssl/pkey.c +++ b/usr.bin/openssl/pkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkey.c,v 1.19 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: pkey.c,v 1.20 2023/07/23 11:39:29 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ @@ -195,7 +195,7 @@ static const struct option pkey_options[] = { }; static void -pkey_usage() +pkey_usage(void) { int n = 0; diff --git a/usr.bin/openssl/pkeyparam.c b/usr.bin/openssl/pkeyparam.c index 946195640e7..543715e521d 100644 --- a/usr.bin/openssl/pkeyparam.c +++ b/usr.bin/openssl/pkeyparam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkeyparam.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: pkeyparam.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ @@ -110,7 +110,7 @@ static const struct option pkeyparam_options[] = { }; static void -pkeyparam_usage() +pkeyparam_usage(void) { fprintf(stderr, "usage: pkeyparam [-check] [-in file] [-noout] [-out file] " diff --git a/usr.bin/openssl/pkeyutl.c b/usr.bin/openssl/pkeyutl.c index efd0896c02c..eebd14855bc 100644 --- a/usr.bin/openssl/pkeyutl.c +++ b/usr.bin/openssl/pkeyutl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkeyutl.c,v 1.19 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: pkeyutl.c,v 1.20 2023/07/23 11:39:29 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -239,7 +239,7 @@ static const struct option pkeyutl_options[] = { }; static void -pkeyutl_usage() +pkeyutl_usage(void) { fprintf(stderr, "usage: pkeyutl [-asn1parse] [-certin] [-decrypt] [-derive] " diff --git a/usr.bin/openssl/prime.c b/usr.bin/openssl/prime.c index d704d882fcb..36703c5748b 100644 --- a/usr.bin/openssl/prime.c +++ b/usr.bin/openssl/prime.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prime.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: prime.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ /* ==================================================================== * Copyright (c) 2004 The OpenSSL Project. All rights reserved. * @@ -101,7 +101,7 @@ static const struct option prime_options[] = { }; static void -prime_usage() +prime_usage(void) { fprintf(stderr, "usage: prime [-bits n] [-checks n] [-generate] [-hex] [-safe] " diff --git a/usr.bin/openssl/rand.c b/usr.bin/openssl/rand.c index a0f3b446640..26003224c0f 100644 --- a/usr.bin/openssl/rand.c +++ b/usr.bin/openssl/rand.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rand.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: rand.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ /* ==================================================================== * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. * @@ -92,7 +92,7 @@ static const struct option rand_options[] = { }; static void -rand_usage() +rand_usage(void) { fprintf(stderr, "usage: rand [-base64 | -hex] [-out file] num\n"); diff --git a/usr.bin/openssl/rsa.c b/usr.bin/openssl/rsa.c index 953daaacf71..5492cd6162b 100644 --- a/usr.bin/openssl/rsa.c +++ b/usr.bin/openssl/rsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.c,v 1.18 2023/03/06 14:32:06 tb Exp $ */ +/* $OpenBSD: rsa.c,v 1.19 2023/07/23 11:39:29 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -228,7 +228,7 @@ static const struct option rsa_options[] = { }; static void -rsa_usage() +rsa_usage(void) { int n = 0; diff --git a/usr.bin/openssl/rsautl.c b/usr.bin/openssl/rsautl.c index d67e78807cc..6d8069cd773 100644 --- a/usr.bin/openssl/rsautl.c +++ b/usr.bin/openssl/rsautl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsautl.c,v 1.23 2023/05/05 18:01:27 tb Exp $ */ +/* $OpenBSD: rsautl.c,v 1.24 2023/07/23 11:39:29 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -218,7 +218,7 @@ static const struct option rsautl_options[] = { }; static void -rsautl_usage() +rsautl_usage(void) { fprintf(stderr, "usage: rsautl [-asn1parse] [-certin] [-decrypt] [-encrypt] " |