summaryrefslogtreecommitdiffstats
path: root/daemons/cmirrord/local.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-01-18 21:07:24 +0000
committerAlasdair Kergon <agk@redhat.com>2010-01-18 21:07:24 +0000
commit667c6be1765045deac634d37b0ae0302d72e1707 (patch)
tree243b3f42bff91b4361b7841c3b7e91994ba044ad /daemons/cmirrord/local.c
parent98998134de36c7faa8e09acfffa5f585edf07ce7 (diff)
downloadlvm2-667c6be1765045deac634d37b0ae0302d72e1707.tar.gz
lvm2-667c6be1765045deac634d37b0ae0302d72e1707.tar.xz
lvm2-667c6be1765045deac634d37b0ae0302d72e1707.zip
Clean up include files.
Diffstat (limited to 'daemons/cmirrord/local.c')
-rw-r--r--daemons/cmirrord/local.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/daemons/cmirrord/local.c b/daemons/cmirrord/local.c
index a4bbd8f5..a12a433f 100644
--- a/daemons/cmirrord/local.c
+++ b/daemons/cmirrord/local.c
@@ -9,23 +9,17 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <unistd.h>
+#include "logging.h"
+#include "common.h"
+#include "functions.h"
+#include "link_mon.h"
+#include "local.h"
+
#include <errno.h>
-#include <string.h>
-#include <stdint.h>
-#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/poll.h>
#include <linux/connector.h>
#include <linux/netlink.h>
-
-#include "dm-log-userspace.h"
-#include "functions.h"
-#include "cluster.h"
-#include "common.h"
-#include "logging.h"
-#include "link_mon.h"
-#include "local.h"
+#include <unistd.h>
#ifndef CN_IDX_DM
/* Kernel 2.6.31 is required to run this code */