diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2012-08-16 19:24:09 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2012-08-23 14:37:20 +0200 |
commit | 286cd2006bd6426f19d2dd312441755624ed260e (patch) | |
tree | cddfb0d896621a356fb0ea7b64c28203969dc90b /tools | |
parent | 6d0abc6b484f1441c6a0a65fd3c82bc09e9d2104 (diff) | |
download | lvm2-286cd2006bd6426f19d2dd312441755624ed260e.tar.gz lvm2-286cd2006bd6426f19d2dd312441755624ed260e.tar.xz lvm2-286cd2006bd6426f19d2dd312441755624ed260e.zip |
cleanup: drop unneeded included header files
This headers were not resolving anything used for compiled .c files.
Remove unused util.c file.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dmsetup.c | 1 | ||||
-rw-r--r-- | tools/lvcreate.c | 1 | ||||
-rw-r--r-- | tools/lvmcmdlib.c | 3 | ||||
-rw-r--r-- | tools/lvmcmdline.c | 3 | ||||
-rw-r--r-- | tools/toollib.c | 4 | ||||
-rw-r--r-- | tools/vgreduce.c | 1 |
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) { |