diff options
| author | tb <> | 2023-07-23 11:39:29 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-23 11:39:29 +0000 |
| commit | eabdbbf5a1b843359b80819568f27211a761880a (patch) | |
| tree | de590f6e9b46f0d430bd9613ef19e8d16f99ae2f /src | |
| parent | 91e5b3ea5555b90293adb136335a30f71b62b6ec (diff) | |
| download | openbsd-eabdbbf5a1b843359b80819568f27211a761880a.tar.gz openbsd-eabdbbf5a1b843359b80819568f27211a761880a.tar.bz2 openbsd-eabdbbf5a1b843359b80819568f27211a761880a.zip | |
sprinkle some void between () in function definitions
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/apps.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/asn1pars.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/dhparam.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/genpkey.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/pkcs7.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/pkcs8.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/pkey.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/pkeyparam.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/pkeyutl.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/prime.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/rand.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/rsa.c | 4 | ||||
| -rw-r--r-- | src/usr.bin/openssl/rsautl.c | 4 |
13 files changed, 26 insertions, 26 deletions
diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c index 44b304a98b..70857e0423 100644 --- a/src/usr.bin/openssl/apps.c +++ b/src/usr.bin/openssl/apps.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: apps.c,v 1.65 2023/06/11 12:35:00 jsg Exp $ */ | 1 | /* $OpenBSD: apps.c,v 1.66 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -1064,7 +1064,7 @@ load_config(BIO *err, CONF *cnf) | |||
| 1064 | } | 1064 | } |
| 1065 | 1065 | ||
| 1066 | char * | 1066 | char * |
| 1067 | make_config_name() | 1067 | make_config_name(void) |
| 1068 | { | 1068 | { |
| 1069 | const char *t = X509_get_default_cert_area(); | 1069 | const char *t = X509_get_default_cert_area(); |
| 1070 | char *p; | 1070 | char *p; |
diff --git a/src/usr.bin/openssl/asn1pars.c b/src/usr.bin/openssl/asn1pars.c index 3eac72cb66..6b99842330 100644 --- a/src/usr.bin/openssl/asn1pars.c +++ b/src/usr.bin/openssl/asn1pars.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: asn1pars.c,v 1.15 2023/03/10 09:44:54 tb Exp $ */ | 1 | /* $OpenBSD: asn1pars.c,v 1.16 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -221,7 +221,7 @@ static const struct option asn1pars_options[] = { | |||
| 221 | }; | 221 | }; |
| 222 | 222 | ||
| 223 | static void | 223 | static void |
| 224 | asn1pars_usage() | 224 | asn1pars_usage(void) |
| 225 | { | 225 | { |
| 226 | fprintf(stderr, | 226 | fprintf(stderr, |
| 227 | "usage: asn1parse [-i] [-dlimit num] [-dump] [-genconf file] " | 227 | "usage: asn1parse [-i] [-dlimit num] [-dump] [-genconf file] " |
diff --git a/src/usr.bin/openssl/dhparam.c b/src/usr.bin/openssl/dhparam.c index 0542464d7b..00bf697264 100644 --- a/src/usr.bin/openssl/dhparam.c +++ b/src/usr.bin/openssl/dhparam.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dhparam.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: dhparam.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -222,7 +222,7 @@ static const struct option dhparam_options[] = { | |||
| 222 | }; | 222 | }; |
| 223 | 223 | ||
| 224 | static void | 224 | static void |
| 225 | dhparam_usage() | 225 | dhparam_usage(void) |
| 226 | { | 226 | { |
| 227 | fprintf(stderr, | 227 | fprintf(stderr, |
| 228 | "usage: dhparam [-2 | -5] [-C] [-check] [-dsaparam]\n" | 228 | "usage: dhparam [-2 | -5] [-C] [-check] [-dsaparam]\n" |
diff --git a/src/usr.bin/openssl/genpkey.c b/src/usr.bin/openssl/genpkey.c index e2445c1433..10c5b0f662 100644 --- a/src/usr.bin/openssl/genpkey.c +++ b/src/usr.bin/openssl/genpkey.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: genpkey.c,v 1.16 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: genpkey.c,v 1.17 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006 | 3 | * project 2006 |
| 4 | */ | 4 | */ |
| @@ -206,7 +206,7 @@ static const struct option genpkey_options[] = { | |||
| 206 | }; | 206 | }; |
| 207 | 207 | ||
| 208 | static void | 208 | static void |
| 209 | genpkey_usage() | 209 | genpkey_usage(void) |
| 210 | { | 210 | { |
| 211 | fprintf(stderr, | 211 | fprintf(stderr, |
| 212 | "usage: genpkey [-algorithm alg] [cipher] [-genparam] [-out file]\n" | 212 | "usage: genpkey [-algorithm alg] [cipher] [-genparam] [-out file]\n" |
diff --git a/src/usr.bin/openssl/pkcs7.c b/src/usr.bin/openssl/pkcs7.c index 4e66855a8d..da30e23e65 100644 --- a/src/usr.bin/openssl/pkcs7.c +++ b/src/usr.bin/openssl/pkcs7.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkcs7.c,v 1.14 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: pkcs7.c,v 1.15 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -138,7 +138,7 @@ static const struct option pkcs7_options[] = { | |||
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | static void | 140 | static void |
| 141 | pkcs7_usage() | 141 | pkcs7_usage(void) |
| 142 | { | 142 | { |
| 143 | fprintf(stderr, "usage: pkcs7 [-in file] " | 143 | fprintf(stderr, "usage: pkcs7 [-in file] " |
| 144 | "[-inform DER | PEM] [-noout]\n" | 144 | "[-inform DER | PEM] [-noout]\n" |
diff --git a/src/usr.bin/openssl/pkcs8.c b/src/usr.bin/openssl/pkcs8.c index d78202e03f..9776b91052 100644 --- a/src/usr.bin/openssl/pkcs8.c +++ b/src/usr.bin/openssl/pkcs8.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkcs8.c,v 1.16 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: pkcs8.c,v 1.17 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999-2004. | 3 | * project 1999-2004. |
| 4 | */ | 4 | */ |
| @@ -184,7 +184,7 @@ static const struct option pkcs8_options[] = { | |||
| 184 | }; | 184 | }; |
| 185 | 185 | ||
| 186 | static void | 186 | static void |
| 187 | pkcs8_usage() | 187 | pkcs8_usage(void) |
| 188 | { | 188 | { |
| 189 | fprintf(stderr, "usage: pkcs8 [-in file] [inform der | pem] " | 189 | fprintf(stderr, "usage: pkcs8 [-in file] [inform der | pem] " |
| 190 | "[-nocrypt] [-noiter]\n" | 190 | "[-nocrypt] [-noiter]\n" |
diff --git a/src/usr.bin/openssl/pkey.c b/src/usr.bin/openssl/pkey.c index cb558f5ac8..47fa2dd362 100644 --- a/src/usr.bin/openssl/pkey.c +++ b/src/usr.bin/openssl/pkey.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkey.c,v 1.19 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: pkey.c,v 1.20 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006 | 3 | * project 2006 |
| 4 | */ | 4 | */ |
| @@ -195,7 +195,7 @@ static const struct option pkey_options[] = { | |||
| 195 | }; | 195 | }; |
| 196 | 196 | ||
| 197 | static void | 197 | static void |
| 198 | pkey_usage() | 198 | pkey_usage(void) |
| 199 | { | 199 | { |
| 200 | int n = 0; | 200 | int n = 0; |
| 201 | 201 | ||
diff --git a/src/usr.bin/openssl/pkeyparam.c b/src/usr.bin/openssl/pkeyparam.c index 946195640e..543715e521 100644 --- a/src/usr.bin/openssl/pkeyparam.c +++ b/src/usr.bin/openssl/pkeyparam.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkeyparam.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: pkeyparam.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006 | 3 | * project 2006 |
| 4 | */ | 4 | */ |
| @@ -110,7 +110,7 @@ static const struct option pkeyparam_options[] = { | |||
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | static void | 112 | static void |
| 113 | pkeyparam_usage() | 113 | pkeyparam_usage(void) |
| 114 | { | 114 | { |
| 115 | fprintf(stderr, | 115 | fprintf(stderr, |
| 116 | "usage: pkeyparam [-check] [-in file] [-noout] [-out file] " | 116 | "usage: pkeyparam [-check] [-in file] [-noout] [-out file] " |
diff --git a/src/usr.bin/openssl/pkeyutl.c b/src/usr.bin/openssl/pkeyutl.c index efd0896c02..eebd14855b 100644 --- a/src/usr.bin/openssl/pkeyutl.c +++ b/src/usr.bin/openssl/pkeyutl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkeyutl.c,v 1.19 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: pkeyutl.c,v 1.20 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -239,7 +239,7 @@ static const struct option pkeyutl_options[] = { | |||
| 239 | }; | 239 | }; |
| 240 | 240 | ||
| 241 | static void | 241 | static void |
| 242 | pkeyutl_usage() | 242 | pkeyutl_usage(void) |
| 243 | { | 243 | { |
| 244 | fprintf(stderr, | 244 | fprintf(stderr, |
| 245 | "usage: pkeyutl [-asn1parse] [-certin] [-decrypt] [-derive] " | 245 | "usage: pkeyutl [-asn1parse] [-certin] [-decrypt] [-derive] " |
diff --git a/src/usr.bin/openssl/prime.c b/src/usr.bin/openssl/prime.c index d704d882fc..36703c5748 100644 --- a/src/usr.bin/openssl/prime.c +++ b/src/usr.bin/openssl/prime.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: prime.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: prime.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2004 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2004 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -101,7 +101,7 @@ static const struct option prime_options[] = { | |||
| 101 | }; | 101 | }; |
| 102 | 102 | ||
| 103 | static void | 103 | static void |
| 104 | prime_usage() | 104 | prime_usage(void) |
| 105 | { | 105 | { |
| 106 | fprintf(stderr, | 106 | fprintf(stderr, |
| 107 | "usage: prime [-bits n] [-checks n] [-generate] [-hex] [-safe] " | 107 | "usage: prime [-bits n] [-checks n] [-generate] [-hex] [-safe] " |
diff --git a/src/usr.bin/openssl/rand.c b/src/usr.bin/openssl/rand.c index a0f3b44664..26003224c0 100644 --- a/src/usr.bin/openssl/rand.c +++ b/src/usr.bin/openssl/rand.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rand.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: rand.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -92,7 +92,7 @@ static const struct option rand_options[] = { | |||
| 92 | }; | 92 | }; |
| 93 | 93 | ||
| 94 | static void | 94 | static void |
| 95 | rand_usage() | 95 | rand_usage(void) |
| 96 | { | 96 | { |
| 97 | fprintf(stderr, | 97 | fprintf(stderr, |
| 98 | "usage: rand [-base64 | -hex] [-out file] num\n"); | 98 | "usage: rand [-base64 | -hex] [-out file] num\n"); |
diff --git a/src/usr.bin/openssl/rsa.c b/src/usr.bin/openssl/rsa.c index 953daaacf7..5492cd6162 100644 --- a/src/usr.bin/openssl/rsa.c +++ b/src/usr.bin/openssl/rsa.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsa.c,v 1.18 2023/03/06 14:32:06 tb Exp $ */ | 1 | /* $OpenBSD: rsa.c,v 1.19 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -228,7 +228,7 @@ static const struct option rsa_options[] = { | |||
| 228 | }; | 228 | }; |
| 229 | 229 | ||
| 230 | static void | 230 | static void |
| 231 | rsa_usage() | 231 | rsa_usage(void) |
| 232 | { | 232 | { |
| 233 | int n = 0; | 233 | int n = 0; |
| 234 | 234 | ||
diff --git a/src/usr.bin/openssl/rsautl.c b/src/usr.bin/openssl/rsautl.c index d67e78807c..6d8069cd77 100644 --- a/src/usr.bin/openssl/rsautl.c +++ b/src/usr.bin/openssl/rsautl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsautl.c,v 1.23 2023/05/05 18:01:27 tb Exp $ */ | 1 | /* $OpenBSD: rsautl.c,v 1.24 2023/07/23 11:39:29 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -218,7 +218,7 @@ static const struct option rsautl_options[] = { | |||
| 218 | }; | 218 | }; |
| 219 | 219 | ||
| 220 | static void | 220 | static void |
| 221 | rsautl_usage() | 221 | rsautl_usage(void) |
| 222 | { | 222 | { |
| 223 | fprintf(stderr, | 223 | fprintf(stderr, |
| 224 | "usage: rsautl [-asn1parse] [-certin] [-decrypt] [-encrypt] " | 224 | "usage: rsautl [-asn1parse] [-certin] [-decrypt] [-encrypt] " |
