summaryrefslogtreecommitdiffstats
path: root/daemons/cmirrord/clogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/cmirrord/clogd.c')
-rw-r--r--daemons/cmirrord/clogd.c30
1 files changed, 7 insertions, 23 deletions
diff --git a/daemons/cmirrord/clogd.c b/daemons/cmirrord/clogd.c
index 5c23851e..27e64ad1 100644
--- a/daemons/cmirrord/clogd.c
+++ b/daemons/cmirrord/clogd.c
@@ -9,33 +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 "logging.h"
+#include "common.h"
+#include "functions.h"
+#include "link_mon.h"
+#include "local.h"
-#include "configure.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <string.h>
#include <errno.h>
-#include <sched.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/stat.h>
-#include <signal.h>
-#include <unistd.h>
#include <fcntl.h>
-#include <linux/types.h>
#include <sys/socket.h>
-#include <linux/netlink.h>
-#include <linux/dm-ioctl.h>
-
-#include "dm-log-userspace.h"
-#include "functions.h"
-#include "local.h"
-#include "cluster.h"
-#include "common.h"
-#include "logging.h"
-#include "link_mon.h"
+#include <sys/wait.h>
+#include <unistd.h>
static int exit_now = 0;
static sigset_t signal_mask;