diff options
author | tb <> | 2020-10-12 13:36:38 +0000 |
---|---|---|
committer | tb <> | 2020-10-12 13:36:38 +0000 |
commit | 6659020c57fb6e6a9a39ade76c14efbc39c48bac (patch) | |
tree | 608418985fe113760ef12dbe353789510ef79c6c | |
parent | 6b7e8bd6ad7b43cb0d50b9a3d10aa4bc6e3f3ba1 (diff) | |
download | openbsd-6659020c57fb6e6a9a39ade76c14efbc39c48bac.tar.gz openbsd-6659020c57fb6e6a9a39ade76c14efbc39c48bac.tar.bz2 openbsd-6659020c57fb6e6a9a39ade76c14efbc39c48bac.zip |
avoid two overlong lines and drop an unused printf argument
-rw-r--r-- | src/regress/lib/libcrypto/symbols/symbols.awk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/symbols/symbols.awk b/src/regress/lib/libcrypto/symbols/symbols.awk index 279e37d5b1..c0fc26cfe1 100644 --- a/src/regress/lib/libcrypto/symbols/symbols.awk +++ b/src/regress/lib/libcrypto/symbols/symbols.awk | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: symbols.awk,v 1.2 2020/09/18 10:39:10 tb Exp $ | 1 | # $OpenBSD: symbols.awk,v 1.3 2020/10/12 13:36:38 tb Exp $ |
2 | 2 | ||
3 | # Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org> | 3 | # Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org> |
4 | # | 4 | # |
@@ -62,11 +62,11 @@ BEGIN { | |||
62 | } | 62 | } |
63 | 63 | ||
64 | /^OPENSSL_strcasecmp$/ { | 64 | /^OPENSSL_strcasecmp$/ { |
65 | printf("extern int OPENSSL_strcasecmp(const char *, const char *);\n") | 65 | printf("extern int %s(const char *, const char *);\n", $0) |
66 | } | 66 | } |
67 | 67 | ||
68 | /^OPENSSL_strncasecmp$/ { | 68 | /^OPENSSL_strncasecmp$/ { |
69 | printf("extern int OPENSSL_strncasecmp(const char *, const char *, size_t);\n") | 69 | printf("extern int %s(const char *, const char *, size_t);\n", $0) |
70 | } | 70 | } |
71 | 71 | ||
72 | /^BIO_CONNECT_free$/ || | 72 | /^BIO_CONNECT_free$/ || |
@@ -100,7 +100,7 @@ BEGIN { | |||
100 | /^d2i_NETSCAPE_ENCRYPTED_PKEY$/ || | 100 | /^d2i_NETSCAPE_ENCRYPTED_PKEY$/ || |
101 | /^d2i_NETSCAPE_PKEY$/ { | 101 | /^d2i_NETSCAPE_PKEY$/ { |
102 | printf("extern void *%s", $0) | 102 | printf("extern void *%s", $0) |
103 | printf("(void *, const unsigned char *, const unsigned char *);\n", $0) | 103 | printf("(void *, const unsigned char *, const unsigned char *);\n") |
104 | } | 104 | } |
105 | 105 | ||
106 | /^i2d_ECPKPARAMETERS$/ || | 106 | /^i2d_ECPKPARAMETERS$/ || |