Remove redundant declarations of ERR_load_*_strings()
authorNick Mathewson <nickm@torproject.org>
Tue, 23 Jan 2018 14:46:13 +0000 (09:46 -0500)
committerRichard Levitte <levitte@openssl.org>
Fri, 9 Feb 2018 16:49:07 +0000 (17:49 +0100)
commita5d0d6b8fd1645c150e1b276863157bb29f0f598
treecd65a49d96b7788b2537616f8a59cf562494d467
parent5d671101739f9e9b259126375a9e8b2fa42ac45f
Remove redundant declarations of ERR_load_*_strings()

In commit 52df25cf2e656146cb3b206d8220124f0417d03f, the
ERR_load_FOO_strings() functions were moved from their original
location in foo.h into new headers called fooerr.h.  But they were
never removed from their original locations.  This duplication
causes redundant-declaration warnings on programs that use OpenSSL's
headers with such warnings enabled.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5150)
25 files changed:
include/openssl/async.h
include/openssl/bio.h
include/openssl/bn.h
include/openssl/buffer.h
include/openssl/cms.h
include/openssl/comp.h
include/openssl/conf.h
include/openssl/crypto.h
include/openssl/ct.h
include/openssl/dh.h
include/openssl/dsa.h
include/openssl/ec.h
include/openssl/engine.h
include/openssl/evp.h
include/openssl/kdf.h
include/openssl/objects.h
include/openssl/ocsp.h
include/openssl/pem.h
include/openssl/pem2.h
include/openssl/rand.h
include/openssl/rsa.h
include/openssl/ssl.h
include/openssl/store.h
include/openssl/ts.h
include/openssl/ui.h