]> git.sur5r.net Git - i3/i3/blobdiff - i3-nagbar/i3-nagbar.h
Merge branch 'release-4.16.1'
[i3/i3] / i3-nagbar / i3-nagbar.h
index 9aac709b551783c0c3d515402aee1d4102606265..cb672bead868f59460f5735f94c611e444b4783f 100644 (file)
@@ -1,17 +1,17 @@
 #pragma once
 
+#include <config.h>
+
 #include <err.h>
 
 #define die(...) errx(EXIT_FAILURE, __VA_ARGS__);
-#define FREE(pointer) do { \
-        if (pointer != NULL) { \
-                free(pointer); \
-                pointer = NULL; \
-        } \
-} \
-while (0)
+#define FREE(pointer)   \
+    do {                \
+        free(pointer);  \
+        pointer = NULL; \
+    } while (0)
 
-#define xmacro(atom) xcb_atom_t A_ ## atom;
+#define xmacro(atom) xcb_atom_t A_##atom;
 #include "atoms.xmacro"
 #undef xmacro