summaryrefslogtreecommitdiff
path: root/i3lock.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2015-03-16 18:47:16 +0100
committerMichael Stapelberg <michael@stapelberg.de>2015-03-16 18:47:16 +0100
commit68b78a7f5795483250a32737ea8c4773be9bf1ca (patch)
treecc09da65e6572eda59b144f4b233359ba4aba609 /i3lock.h
parent783509b872726627c7c0d65e092e265c5e2f0201 (diff)
clang-format -i **/*.[ch]
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3lock.
Diffstat (limited to 'i3lock.h')
-rw-r--r--i3lock.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/i3lock.h b/i3lock.h
index 3e336ad..57190e5 100644
--- a/i3lock.h
+++ b/i3lock.h
@@ -5,9 +5,10 @@
* This is important because xautolock (for example) closes stdout/stderr by
* default, so just printing something to stdout will lead to the data ending
* up on the X11 socket (!). */
-#define DEBUG(fmt, ...) do { \
- if (debug_mode) \
- printf("[i3lock-debug] " fmt, ##__VA_ARGS__); \
-} while (0)
+#define DEBUG(fmt, ...) \
+ do { \
+ if (debug_mode) \
+ printf("[i3lock-debug] " fmt, ##__VA_ARGS__); \
+ } while (0)
#endif