summaryrefslogtreecommitdiff
path: root/util/mkerr.pl
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2018-02-08 18:47:30 -0500
committerRich Salz <rsalz@openssl.org>2018-02-09 07:04:32 -0500
commita699b8e4ca106a1aade0cc741eca63a61d44b90f (patch)
tree480be1058432e30151239c6645c53b6d8fbb65d2 /util/mkerr.pl
parent2e8b0ef8f4d4b5498f3ffd1fc9f24e52ede8555f (diff)
downloadopenssl-new-a699b8e4ca106a1aade0cc741eca63a61d44b90f.tar.gz
Small simplification in mkerr.pl
As suggested in https://github.com/openssl/openssl/pull/5275 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5288)
Diffstat (limited to 'util/mkerr.pl')
-rwxr-xr-xutil/mkerr.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 1740e40427..0ea02961a5 100755
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -471,12 +471,9 @@ EOF
}
print OUT <<"EOF";
#${indent}ifdef __cplusplus
-extern \"C\" {
+extern \"C\"
#${indent}endif
int ERR_load_${lib}_strings(void);
-#${indent}ifdef __cplusplus
-}
-#${indent}endif
EOF
} else {
print OUT <<"EOF";