summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/dmsetup.c1
-rw-r--r--tools/lvcreate.c1
-rw-r--r--tools/lvmcmdlib.c3
-rw-r--r--tools/lvmcmdline.c3
-rw-r--r--tools/toollib.c4
-rw-r--r--tools/vgreduce.c1
6 files changed, 0 insertions, 13 deletions
diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index 7d1f2a13..0734dedc 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -30,7 +30,6 @@
#include <dirent.h>
#include <errno.h>
#include <unistd.h>
-#include <libgen.h>
#include <sys/wait.h>
#include <unistd.h>
#include <sys/param.h>
diff --git a/tools/lvcreate.c b/tools/lvcreate.c
index 6aecf1d0..769ac8cb 100644
--- a/tools/lvcreate.c
+++ b/tools/lvcreate.c
@@ -14,7 +14,6 @@
*/
#include "tools.h"
-#include "lv_alloc.h"
#include <fcntl.h>
diff --git a/tools/lvmcmdlib.c b/tools/lvmcmdlib.c
index 47bf1c88..6b641c23 100644
--- a/tools/lvmcmdlib.c
+++ b/tools/lvmcmdlib.c
@@ -17,13 +17,10 @@
#include "lvm2cmdline.h"
#include "label.h"
#include "memlock.h"
-#include "lvm-version.h"
#include "lvm2cmd.h"
#include <signal.h>
-#include <syslog.h>
-#include <libgen.h>
#include <sys/stat.h>
#include <time.h>
#include <sys/resource.h>
diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
index 99648170..eea874e9 100644
--- a/tools/lvmcmdline.c
+++ b/tools/lvmcmdline.c
@@ -19,12 +19,9 @@
#include "lvm-version.h"
#include "stub.h"
-#include "lvm2cmd.h"
#include "last-path-component.h"
#include <signal.h>
-#include <syslog.h>
-#include <libgen.h>
#include <sys/stat.h>
#include <time.h>
#include <sys/resource.h>
diff --git a/tools/toollib.c b/tools/toollib.c
index 0f6810b6..d6fc9519 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -14,11 +14,7 @@
*/
#include "tools.h"
-#include "lv_alloc.h"
-#include "xlate.h"
-
#include <sys/stat.h>
-#include <sys/wait.h>
const char *command_name(struct cmd_context *cmd)
{
diff --git a/tools/vgreduce.c b/tools/vgreduce.c
index ab448e05..96966513 100644
--- a/tools/vgreduce.c
+++ b/tools/vgreduce.c
@@ -14,7 +14,6 @@
*/
#include "tools.h"
-#include "lv_alloc.h"
static int _remove_pv(struct volume_group *vg, struct pv_list *pvl, int silent)
{