summaryrefslogtreecommitdiffstats
path: root/daemons/cmirrord/cluster.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/cluster.c
parent98998134de36c7faa8e09acfffa5f585edf07ce7 (diff)
downloadlvm2-667c6be1765045deac634d37b0ae0302d72e1707.tar.gz
lvm2-667c6be1765045deac634d37b0ae0302d72e1707.tar.xz
lvm2-667c6be1765045deac634d37b0ae0302d72e1707.zip
Clean up include files.
Diffstat (limited to 'daemons/cmirrord/cluster.c')
-rw-r--r--daemons/cmirrord/cluster.c34
1 files changed, 11 insertions, 23 deletions
diff --git a/daemons/cmirrord/cluster.c b/daemons/cmirrord/cluster.c
index 515d07e7..932abc48 100644
--- a/daemons/cmirrord/cluster.c
+++ b/daemons/cmirrord/cluster.c
@@ -9,34 +9,22 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <errno.h>
-#include <string.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <stdint.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <sys/socket.h> /* These are for OpenAIS CPGs */
-#include <sys/select.h>
-#include <sys/un.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <corosync/corotypes.h>
-#include <corosync/cpg.h>
-#include <openais/saAis.h>
-#include <openais/saCkpt.h>
-
-#include "dm-log-userspace.h"
-#include "libdevmapper.h"
-#include "functions.h"
-#include "local.h"
-#include "common.h"
#include "logging.h"
-#include "link_mon.h"
#include "cluster.h"
+#include "common.h"
#include "compat.h"
+#include "functions.h"
+#include "link_mon.h"
+#include "local.h"
#include "xlate.h"
+#include <corosync/cpg.h>
+#include <errno.h>
+#include <openais/saAis.h>
+#include <openais/saCkpt.h>
+#include <signal.h>
+#include <unistd.h>
+
/* Open AIS error codes */
#define str_ais_error(x) \
((x) == SA_AIS_OK) ? "SA_AIS_OK" : \