From: Alasdair Kergon Date: Fri, 8 Jul 2011 19:42:11 +0000 (+0000) Subject: remove unnecessary lvconvert.h X-Git-Tag: old-v2_02_86 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fv2_02_86;p=lvm2.git remove unnecessary lvconvert.h --- diff --git a/tools/lvconvert.c b/tools/lvconvert.c index e99a81d3d..73b9788f4 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -16,7 +16,6 @@ #include "polldaemon.h" #include "lv_alloc.h" #include "metadata.h" -#include "lvconvert.h" struct lvconvert_params { int snapshot; diff --git a/tools/lvconvert.h b/tools/lvconvert.h deleted file mode 100644 index 8de8ccee2..000000000 --- a/tools/lvconvert.h +++ /dev/null @@ -1,2 +0,0 @@ -int mirror_remove_missing(struct cmd_context *cmd, - struct logical_volume *lv, int force); diff --git a/tools/tools.h b/tools/tools.h index 1bfad13c0..80ed353c8 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -178,4 +178,7 @@ const char *command_name(struct cmd_context *cmd); int pvmove_poll(struct cmd_context *cmd, const char *pv, unsigned background); int lvconvert_poll(struct cmd_context *cmd, struct logical_volume *lv, unsigned background); +int mirror_remove_missing(struct cmd_context *cmd, + struct logical_volume *lv, int force); + #endif diff --git a/tools/vgreduce.c b/tools/vgreduce.c index f975b48e8..bcf3fb030 100644 --- a/tools/vgreduce.c +++ b/tools/vgreduce.c @@ -15,7 +15,6 @@ #include "tools.h" #include "lv_alloc.h" -#include "lvconvert.h" static int _remove_pv(struct volume_group *vg, struct pv_list *pvl, int silent) {