From 456570f5d4f8d7e9ce75c62ace1a9f79e25b6ee5 Mon Sep 17 00:00:00 2001 From: Ingo Franzki Date: Tue, 20 Oct 2020 08:47:24 +0200 Subject: [PATCH] Remove now unused header timeb.h Since ef62794ca1d065ea20b207990956f93ab2cc6e3b timeb.h is no longer used. Remove it from the testcases that still include it, and also do not check for it in configure.ac. Signed-off-by: Ingo Franzki --- configure.ac | 2 +- testcases/login/digest_init.c | 1 - testcases/login/init_pin.c | 1 - testcases/login/login.c | 1 - testcases/login/set_pin.c | 1 - testcases/misc_tests/fork.c | 1 - testcases/misc_tests/multi_instance.c | 1 - testcases/misc_tests/obj_lock.c | 1 - testcases/misc_tests/reencrypt.c | 1 - testcases/misc_tests/speed.c | 1 - testcases/misc_tests/tok2tok_transport.c | 1 - testcases/misc_tests/tok_des.c | 1 - testcases/misc_tests/tok_rsa.c | 1 - 13 files changed, 1 insertion(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index 43349169..851f5e00 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ AC_HEADER_STDC AC_CHECK_HEADER_STDBOOL AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h malloc.h \ nl_types.h stddef.h sys/file.h sys/socket.h sys/time.h \ - sys/timeb.h syslog.h termios.h]) + syslog.h termios.h]) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_INLINE diff --git a/testcases/login/digest_init.c b/testcases/login/digest_init.c index 9998447f..875d8ed8 100644 --- a/testcases/login/digest_init.c +++ b/testcases/login/digest_init.c @@ -14,7 +14,6 @@ #include #include -#include #include "pkcs11types.h" diff --git a/testcases/login/init_pin.c b/testcases/login/init_pin.c index 62b6f984..c03b57ab 100644 --- a/testcases/login/init_pin.c +++ b/testcases/login/init_pin.c @@ -14,7 +14,6 @@ #include #include -#include #include "pkcs11types.h" diff --git a/testcases/login/login.c b/testcases/login/login.c index 79ca419a..3081b3e3 100644 --- a/testcases/login/login.c +++ b/testcases/login/login.c @@ -14,7 +14,6 @@ #include #include -#include #include "pkcs11types.h" #include "regress.h" diff --git a/testcases/login/set_pin.c b/testcases/login/set_pin.c index f72ac7bf..b82d99ac 100644 --- a/testcases/login/set_pin.c +++ b/testcases/login/set_pin.c @@ -15,7 +15,6 @@ #include #include -#include #include "pkcs11types.h" diff --git a/testcases/misc_tests/fork.c b/testcases/misc_tests/fork.c index b11f2035..fc3f4af8 100644 --- a/testcases/misc_tests/fork.c +++ b/testcases/misc_tests/fork.c @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/testcases/misc_tests/multi_instance.c b/testcases/misc_tests/multi_instance.c index e9b9df4a..40638fcb 100644 --- a/testcases/misc_tests/multi_instance.c +++ b/testcases/misc_tests/multi_instance.c @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/testcases/misc_tests/obj_lock.c b/testcases/misc_tests/obj_lock.c index c5bbc870..229aa054 100644 --- a/testcases/misc_tests/obj_lock.c +++ b/testcases/misc_tests/obj_lock.c @@ -21,7 +21,6 @@ #include #include -#include #include #include diff --git a/testcases/misc_tests/reencrypt.c b/testcases/misc_tests/reencrypt.c index c427f8f6..fa9633f5 100644 --- a/testcases/misc_tests/reencrypt.c +++ b/testcases/misc_tests/reencrypt.c @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/testcases/misc_tests/speed.c b/testcases/misc_tests/speed.c index ac803c08..8f5426be 100644 --- a/testcases/misc_tests/speed.c +++ b/testcases/misc_tests/speed.c @@ -27,7 +27,6 @@ #include #include #include -#include #include "pkcs11types.h" #include "regress.h" diff --git a/testcases/misc_tests/tok2tok_transport.c b/testcases/misc_tests/tok2tok_transport.c index f9e88561..1c482c27 100644 --- a/testcases/misc_tests/tok2tok_transport.c +++ b/testcases/misc_tests/tok2tok_transport.c @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/testcases/misc_tests/tok_des.c b/testcases/misc_tests/tok_des.c index d881c827..2a0e186e 100644 --- a/testcases/misc_tests/tok_des.c +++ b/testcases/misc_tests/tok_des.c @@ -19,7 +19,6 @@ #include #include -#include #include "pkcs11types.h" #include "regress.h" diff --git a/testcases/misc_tests/tok_rsa.c b/testcases/misc_tests/tok_rsa.c index 52068561..07e24ec2 100644 --- a/testcases/misc_tests/tok_rsa.c +++ b/testcases/misc_tests/tok_rsa.c @@ -19,7 +19,6 @@ #include #include -#include #include "pkcs11types.h" #include "regress.h"