diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-06-21 15:56:57 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-06-21 15:56:57 +0000 |
commit | b4ee00356b5adfe105605b8cab9667e216210bfe (patch) | |
tree | a5a2be86b2ffb1b4220bb014f58451abd659d0a0 /daemons/clvmd/clvmd-cman.c | |
parent | aec39dcc34b5d6c7b94d084e17957031f512e594 (diff) | |
download | lvm2-b4ee00356b5adfe105605b8cab9667e216210bfe.tar.gz lvm2-b4ee00356b5adfe105605b8cab9667e216210bfe.tar.xz lvm2-b4ee00356b5adfe105605b8cab9667e216210bfe.zip |
Various cleanups following recent commits.
Diffstat (limited to 'daemons/clvmd/clvmd-cman.c')
-rw-r--r-- | daemons/clvmd/clvmd-cman.c | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/daemons/clvmd/clvmd-cman.c b/daemons/clvmd/clvmd-cman.c index 1d37ca1b..52da2acb 100644 --- a/daemons/clvmd/clvmd-cman.c +++ b/daemons/clvmd/clvmd-cman.c @@ -17,38 +17,19 @@ * CMAN communication layer for clvmd. */ -#define _GNU_SOURCE -#define _FILE_OFFSET_BITS 64 +#include "clvmd-common.h" -#include "configure.h" #include <pthread.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/socket.h> -#include <sys/uio.h> -#include <sys/un.h> -#include <sys/time.h> -#include <sys/ioctl.h> -#include <sys/utsname.h> -#include <syslog.h> -#include <netinet/in.h> -#include <stdio.h> -#include <stdlib.h> -#include <stddef.h> -#include <signal.h> -#include <unistd.h> -#include <fcntl.h> -#include <getopt.h> -#include <errno.h> -#include "libdevmapper.h" -#include <libdlm.h> #include "clvmd-comms.h" #include "clvm.h" -#include "lvm-logging.h" #include "clvmd.h" #include "lvm-functions.h" +#include <libdlm.h> + +#include <syslog.h> + #define LOCKSPACE_NAME "clvmd" struct clvmd_node |