The code using regexes got moved, but the include stayed.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/libxl/libxl_driver.c | 1 -
src/storage/storage_util.c | 1 -
src/util/viriscsi.c | 2 --
src/util/virnetdevtap.c | 1 -
tests/testutils.c | 1 -
5 files changed, 6 deletions(-)
diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index 277d99b2b0..ec6a010030 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -27,7 +27,6 @@
#include <libxl_utils.h>
#include <xenstore.h>
#include <fcntl.h>
-#include <regex.h>
#include "internal.h"
#include "virlog.h"
diff --git a/src/storage/storage_util.c b/src/storage/storage_util.c
index f91c2c64ee..9ba9bb2a57 100644
--- a/src/storage/storage_util.c
+++ b/src/storage/storage_util.c
@@ -18,7 +18,6 @@
#include <config.h>
-#include <regex.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/src/util/viriscsi.c b/src/util/viriscsi.c
index 9f4c8f4e03..da27894b0b 100644
--- a/src/util/viriscsi.c
+++ b/src/util/viriscsi.c
@@ -22,8 +22,6 @@
#include <config.h>
-#include <regex.h>
-
#include "viriscsi.h"
#include "viralloc.h"
diff --git a/src/util/virnetdevtap.c b/src/util/virnetdevtap.c
index aea4c91a6a..445aaa2727 100644
--- a/src/util/virnetdevtap.c
+++ b/src/util/virnetdevtap.c
@@ -32,7 +32,6 @@
#include "datatypes.h"
#include <unistd.h>
-#include <regex.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <net/if.h>
diff --git a/tests/testutils.c b/tests/testutils.c
index a3bedd0fef..3cd3391dfa 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -25,7 +25,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
-#include <regex.h>
#include <unistd.h>
#include <fcntl.h>
#include "testutils.h"
--
2.21.0