aboutsummaryrefslogtreecommitdiff
path: root/common/log.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-09-01 08:18:37 -0400
committerDrew DeVault <sir@cmpwn.com>2016-09-01 08:18:37 -0400
commit416417a54c5875abcdc257b6ad10ff086c35eefc (patch)
tree00f20884a05d05e620a4a24bba8595557cd41405 /common/log.c
parent729fdf7d9186ceba0f84b87edfd473642964227f (diff)
Reorganize includes
Diffstat (limited to 'common/log.c')
-rw-r--r--common/log.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/common/log.c b/common/log.c
index 1da2ba2f..4f0baa3f 100644
--- a/common/log.c
+++ b/common/log.c
@@ -1,17 +1,15 @@
-#include "log.h"
-#include "sway.h"
-#include "readline.h"
+#include <errno.h>
+#include <libgen.h>
+#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include <libgen.h>
-#include <fcntl.h>
#include <unistd.h>
-#include <signal.h>
-#include <time.h>
-#include <errno.h>
#include <string.h>
-#include <stringop.h>
+#include <time.h>
+#include "log.h"
+#include "sway.h"
+#include "readline.h"
static int colored = 1;
static log_importance_t loglevel_default = L_ERROR;