]> git.lizzy.rs Git - bspwm.git/blobdiff - helpers.h
Always use BUFSIZ
[bspwm.git] / helpers.h
index 97e667aa0491c1d74af6cdcded77671f8044c263..49684b0bd473cb06661e197afb5a295e8a3178af 100644 (file)
--- a/helpers.h
+++ b/helpers.h
 #define MIN(A, B)         ((A) < (B) ? (A) : (B))
 #define BOOLSTR(A)        ((A) ? "true" : "false")
 
-#define MAXLEN  256
 #define XCB_CONFIG_WINDOW_X_Y_WIDTH_HEIGHT XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT
 #define XCB_CONFIG_WINDOW_X_Y XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y
 
 #ifdef DEBUG
 #  define PUTS(x)         puts(x)
-#  define PRINTF(x,...)   printf(x, ##__VA_ARGS__)
+#  define PRINTF(x,...)   printf(x, __VA_ARGS__)
 #else
 #  define PUTS(x)         ((void)0)
 #  define PRINTF(x,...)   ((void)0)