summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/clvmd-cman.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/clvmd/clvmd-cman.c')
-rw-r--r--daemons/clvmd/clvmd-cman.c29
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