From 2e71409d56ada39eb060bcda9aaffb3bd0ef6e24 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 26 Oct 2015 17:35:56 -0400 Subject: Remove unused includes. --- aes_keywrap.c | 2 -- asn1.c | 4 ---- asn1_internal.h | 1 - csprng.c | 3 --- ecdsa.c | 4 ---- errorstrings.c | 6 ------ hal_io_eim.c | 6 +----- hash.c | 4 ---- modexp.c | 2 -- pbkdf2.c | 6 ------ tests/test-aes-key-wrap.c | 1 - tests/test-ecdsa.c | 3 --- tests/test-hash.c | 1 - tests/test-pbkdf2.c | 8 +------- tests/test-rsa.c | 2 -- 15 files changed, 2 insertions(+), 51 deletions(-) diff --git a/aes_keywrap.c b/aes_keywrap.c index 7b90c9d..b10a70b 100644 --- a/aes_keywrap.c +++ b/aes_keywrap.c @@ -41,8 +41,6 @@ * then split the result back to 64-bit blocks immediately afterwards. */ -#include -#include #include #include #include diff --git a/asn1.c b/asn1.c index 2ea44bd..54f022a 100644 --- a/asn1.c +++ b/asn1.c @@ -46,11 +46,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include -#include -#include -#include #include #include "hal.h" diff --git a/asn1_internal.h b/asn1_internal.h index f6e470f..5dc2a13 100644 --- a/asn1_internal.h +++ b/asn1_internal.h @@ -42,7 +42,6 @@ #define _HAL_ASN1_H_ #include -#include #include diff --git a/csprng.c b/csprng.c index 235bd12..1051bbd 100644 --- a/csprng.c +++ b/csprng.c @@ -32,10 +32,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include -#include -#include #include "hal.h" diff --git a/ecdsa.c b/ecdsa.c index e2da87e..be97723 100644 --- a/ecdsa.c +++ b/ecdsa.c @@ -65,11 +65,7 @@ * in a relatively type-safe manner before calling libtom. */ -#include #include -#include -#include -#include #include #include "hal.h" diff --git a/errorstrings.c b/errorstrings.c index 1a234dd..5a79546 100644 --- a/errorstrings.c +++ b/errorstrings.c @@ -32,12 +32,6 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include -#include -#include -#include -#include - #include "hal.h" #define DEFINE_HAL_ERROR(_code_,_text_) \ diff --git a/hal_io_eim.c b/hal_io_eim.c index 3687b95..bc907b5 100644 --- a/hal_io_eim.c +++ b/hal_io_eim.c @@ -34,12 +34,8 @@ */ #include -#include -#include -#include -#include #include -#include +#include /* htonl/ntohl */ #include "novena-eim.h" #include "hal.h" diff --git a/hash.c b/hash.c index e06278d..52dbbf0 100644 --- a/hash.c +++ b/hash.c @@ -37,10 +37,6 @@ #include #include #include -#include -#include -#include -#include #include "hal.h" diff --git a/modexp.c b/modexp.c index 11a8d21..1512284 100644 --- a/modexp.c +++ b/modexp.c @@ -41,8 +41,6 @@ #include #include -#include -#include #include #include "hal.h" diff --git a/pbkdf2.c b/pbkdf2.c index 4ad1e3a..1c43fe4 100644 --- a/pbkdf2.c +++ b/pbkdf2.c @@ -34,13 +34,7 @@ #include #include -#include -#include #include -#include -#include -#include -#include #include "hal.h" diff --git a/tests/test-aes-key-wrap.c b/tests/test-aes-key-wrap.c index f8467ec..b784c54 100644 --- a/tests/test-aes-key-wrap.c +++ b/tests/test-aes-key-wrap.c @@ -33,7 +33,6 @@ */ #include -#include #include #include #include diff --git a/tests/test-ecdsa.c b/tests/test-ecdsa.c index 558120b..23d9720 100644 --- a/tests/test-ecdsa.c +++ b/tests/test-ecdsa.c @@ -46,10 +46,7 @@ #include #include -#include #include -#include -#include #include diff --git a/tests/test-hash.c b/tests/test-hash.c index 144b1b9..2a5c18b 100644 --- a/tests/test-hash.c +++ b/tests/test-hash.c @@ -33,7 +33,6 @@ */ #include -#include #include #include #include diff --git a/tests/test-pbkdf2.c b/tests/test-pbkdf2.c index 0688226..3668153 100644 --- a/tests/test-pbkdf2.c +++ b/tests/test-pbkdf2.c @@ -32,15 +32,9 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include -#include #include -#include #include -#include -#include -#include -#include +#include #include diff --git a/tests/test-rsa.c b/tests/test-rsa.c index 46afa03..0707127 100644 --- a/tests/test-rsa.c +++ b/tests/test-rsa.c @@ -40,9 +40,7 @@ #include #include -#include #include -#include #include #include -- cgit v1.2.3