From 677532629d84e39f4cb8edfe017fbfc8120d45d0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 14 Oct 2002 10:02:36 +0000 Subject: [PATCH] makedepend complains when a header file is included more than once in the same source file. --- apps/passwd.c | 1 - apps/pkcs8.c | 1 - crypto/asn1/asn1.h | 1 - crypto/bio/bss_bio.c | 1 - crypto/engine/eng_openssl.c | 3 +-- crypto/err/err_prn.c | 1 - crypto/x509/x509.h | 1 - ssl/ssl.h | 2 -- 8 files changed, 1 insertion(+), 10 deletions(-) diff --git a/apps/passwd.c b/apps/passwd.c index ad8e7b0349..0c2cf62e8b 100644 --- a/apps/passwd.c +++ b/apps/passwd.c @@ -19,7 +19,6 @@ # include #endif #ifndef NO_MD5CRYPT_1 -# include # include #endif diff --git a/apps/pkcs8.c b/apps/pkcs8.c index 912e32006b..f86474dd25 100644 --- a/apps/pkcs8.c +++ b/apps/pkcs8.c @@ -63,7 +63,6 @@ #include #include -#include "apps.h" #define PROG pkcs8_main int MAIN(int, char **); diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index e870948e8d..599cc8bb14 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h @@ -70,7 +70,6 @@ #include -#include #include #ifdef OPENSSL_BUILD_SHLIBCRYPTO diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c index 67b1279b99..aa58dab046 100644 --- a/crypto/bio/bss_bio.c +++ b/crypto/bio/bss_bio.c @@ -28,7 +28,6 @@ #include #include -#include #include #include "e_os.h" diff --git a/crypto/engine/eng_openssl.c b/crypto/engine/eng_openssl.c index 45fa61834b..e28951cbc4 100644 --- a/crypto/engine/eng_openssl.c +++ b/crypto/engine/eng_openssl.c @@ -68,6 +68,7 @@ #include #include #include +#include /* This testing gunk is implemented (and explained) lower down. It also assumes * the application explicitly calls "ENGINE_load_openssl()" because this is no @@ -191,7 +192,6 @@ IMPLEMENT_DYNAMIC_BIND_FN(bind_fn) * the "init_key" handler is called. * TEST_ENG_OPENSSL_RC4_P_CIPHER - ditto for the "cipher" handler. */ -#include #include #define TEST_RC4_KEY_SIZE 16 static int test_cipher_nids[] = {NID_rc4,NID_rc4_40}; @@ -276,7 +276,6 @@ static int openssl_ciphers(ENGINE *e, const EVP_CIPHER **cipher, #ifdef TEST_ENG_OPENSSL_SHA /* Much the same sort of comment as for TEST_ENG_OPENSSL_RC4 */ -#include #include static int test_digest_nids[] = {NID_sha1}; static int test_digest_nids_number = 1; diff --git a/crypto/err/err_prn.c b/crypto/err/err_prn.c index c156663f0e..81e34bd6ce 100644 --- a/crypto/err/err_prn.c +++ b/crypto/err/err_prn.c @@ -62,7 +62,6 @@ #include "cryptlib.h" #include #include -#include void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u) diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 7a2c8db1b0..3ac3c5a4a4 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -104,7 +104,6 @@ #ifndef OPENSSL_NO_SHA #include #endif -#include #include #include diff --git a/ssl/ssl.h b/ssl/ssl.h index 4bbe612ac3..dca624091d 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -321,9 +321,7 @@ extern "C" { #include #include #include -#include #include -#include #ifdef __cplusplus extern "C" { -- 2.34.1