diff options
author | Paul Selkirk <paul@psgd.org> | 2015-10-26 17:35:56 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-10-29 15:11:43 -0400 |
commit | 2e71409d56ada39eb060bcda9aaffb3bd0ef6e24 (patch) | |
tree | b5513d76f225558820042ef081a47d63329487b4 | |
parent | 7e46c24361b2a89e42b6888e24c12d46109ffbb2 (diff) |
Remove unused includes.
-rw-r--r-- | aes_keywrap.c | 2 | ||||
-rw-r--r-- | asn1.c | 4 | ||||
-rw-r--r-- | asn1_internal.h | 1 | ||||
-rw-r--r-- | csprng.c | 3 | ||||
-rw-r--r-- | ecdsa.c | 4 | ||||
-rw-r--r-- | errorstrings.c | 6 | ||||
-rw-r--r-- | hal_io_eim.c | 6 | ||||
-rw-r--r-- | hash.c | 4 | ||||
-rw-r--r-- | modexp.c | 2 | ||||
-rw-r--r-- | pbkdf2.c | 6 | ||||
-rw-r--r-- | tests/test-aes-key-wrap.c | 1 | ||||
-rw-r--r-- | tests/test-ecdsa.c | 3 | ||||
-rw-r--r-- | tests/test-hash.c | 1 | ||||
-rw-r--r-- | tests/test-pbkdf2.c | 8 | ||||
-rw-r--r-- | 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 <stdio.h> -#include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> @@ -46,11 +46,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <stdio.h> #include <stdint.h> -#include <stdlib.h> -#include <stddef.h> -#include <string.h> #include <assert.h> #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 <stdint.h> -#include <stdlib.h> #include <tfm.h> @@ -32,10 +32,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <assert.h> #include <stdint.h> -#include <stddef.h> -#include <stdio.h> #include "hal.h" @@ -65,11 +65,7 @@ * in a relatively type-safe manner before calling libtom. */ -#include <stdio.h> #include <stdint.h> -#include <stdlib.h> -#include <stddef.h> -#include <string.h> #include <assert.h> #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 <stdio.h> -#include <stdlib.h> -#include <stdint.h> -#include <string.h> -#include <assert.h> - #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 <stdio.h> -#include <stdlib.h> -#include <fcntl.h> -#include <unistd.h> -#include <sys/ioctl.h> #include <stdint.h> -#include <arpa/inet.h> +#include <arpa/inet.h> /* htonl/ntohl */ #include "novena-eim.h" #include "hal.h" @@ -37,10 +37,6 @@ #include <stdio.h> #include <stdlib.h> #include <stdint.h> -#include <errno.h> -#include <fcntl.h> -#include <unistd.h> -#include <sys/ioctl.h> #include "hal.h" @@ -41,8 +41,6 @@ #include <stdio.h> #include <stdint.h> -#include <stdlib.h> -#include <string.h> #include <assert.h> #include "hal.h" @@ -34,13 +34,7 @@ #include <assert.h> #include <string.h> -#include <stdio.h> -#include <stdlib.h> #include <stdint.h> -#include <errno.h> -#include <fcntl.h> -#include <unistd.h> -#include <sys/ioctl.h> #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 <stdio.h> -#include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> 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 <stdio.h> #include <stdint.h> -#include <stdlib.h> #include <string.h> -#include <assert.h> -#include <errno.h> #include <sys/time.h> 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 <stdio.h> -#include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> 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 <assert.h> -#include <string.h> #include <stdio.h> -#include <stdlib.h> #include <stdint.h> -#include <errno.h> -#include <fcntl.h> -#include <unistd.h> -#include <sys/ioctl.h> +#include <string.h> #include <hal.h> 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 <stdio.h> #include <stdint.h> -#include <stdlib.h> #include <string.h> -#include <assert.h> #include <errno.h> #include <sys/time.h> |