diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2015-03-16 18:47:16 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2015-03-16 18:47:16 +0100 |
commit | 68b78a7f5795483250a32737ea8c4773be9bf1ca (patch) | |
tree | cc09da65e6572eda59b144f4b233359ba4aba609 /i3lock.h | |
parent | 783509b872726627c7c0d65e092e265c5e2f0201 (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.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |