From b4ee00356b5adfe105605b8cab9667e216210bfe Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 21 Jun 2010 15:56:57 +0000 Subject: Various cleanups following recent commits. --- daemons/clvmd/lvm-functions.c | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'daemons/clvmd/lvm-functions.c') diff --git a/daemons/clvmd/lvm-functions.c b/daemons/clvmd/lvm-functions.c index ff44a0ff..81287284 100644 --- a/daemons/clvmd/lvm-functions.c +++ b/daemons/clvmd/lvm-functions.c @@ -13,28 +13,9 @@ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE -#define _FILE_OFFSET_BITS 64 +#include "clvmd-common.h" -#include "configure.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "libdevmapper.h" #include "lvm-types.h" #include "clvm.h" @@ -45,14 +26,13 @@ /* LVM2 headers */ #include "toolcontext.h" #include "lvmcache.h" -#include "lvm-logging.h" #include "lvm-globals.h" #include "activate.h" -#include "locking.h" #include "archiver.h" -#include "defaults.h" #include "memlock.h" +#include + static struct cmd_context *cmd = NULL; static struct dm_hash_table *lv_hash = NULL; static pthread_mutex_t lv_hash_lock; -- cgit