diff options
author | Zandr Martin <zandrmartin@gmail.com> | 2016-09-02 13:46:19 -0500 |
---|---|---|
committer | Zandr Martin <zandrmartin@gmail.com> | 2016-09-02 13:46:19 -0500 |
commit | 79ffea328c992c5109406771a59a9f016d85970d (patch) | |
tree | 5d965e72127f227ea0a38dc5c6e4fc14e08d9498 /common/log.c | |
parent | refactor commands.c (diff) | |
parent | Merge pull request #878 from lukaslihotzki/master (diff) | |
download | sway-79ffea328c992c5109406771a59a9f016d85970d.tar.gz sway-79ffea328c992c5109406771a59a9f016d85970d.tar.zst sway-79ffea328c992c5109406771a59a9f016d85970d.zip |
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor
Diffstat (limited to 'common/log.c')
-rw-r--r-- | common/log.c | 16 |
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 @@ | |||
1 | #include "log.h" | 1 | #include <errno.h> |
2 | #include "sway.h" | 2 | #include <libgen.h> |
3 | #include "readline.h" | 3 | #include <signal.h> |
4 | #include <stdarg.h> | 4 | #include <stdarg.h> |
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <stdlib.h> | 6 | #include <stdlib.h> |
7 | #include <libgen.h> | ||
8 | #include <fcntl.h> | ||
9 | #include <unistd.h> | 7 | #include <unistd.h> |
10 | #include <signal.h> | ||
11 | #include <time.h> | ||
12 | #include <errno.h> | ||
13 | #include <string.h> | 8 | #include <string.h> |
14 | #include <stringop.h> | 9 | #include <time.h> |
10 | #include "log.h" | ||
11 | #include "sway.h" | ||
12 | #include "readline.h" | ||
15 | 13 | ||
16 | static int colored = 1; | 14 | static int colored = 1; |
17 | static log_importance_t loglevel_default = L_ERROR; | 15 | static log_importance_t loglevel_default = L_ERROR; |