From 4c67e5506648d6d358b9befd1711f2b5da245a61 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 8 Jul 2011 19:42:11 +0000 Subject: [PATCH] remove unnecessary lvconvert.h --- tools/lvconvert.c | 1 - tools/lvconvert.h | 2 -- tools/tools.h | 3 +++ tools/vgreduce.c | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 tools/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) { -- 2.43.5