remove extra newline
[dmenu.git] / util.h
blobc0a50d4424b8a4167513d2f170fba1f5035df9ac
1 /* See LICENSE file for copyright and license details. */
3 #define MAX(A, B) ((A) > (B) ? (A) : (B))
4 #define MIN(A, B) ((A) < (B) ? (A) : (B))
5 #define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
6 #define LENGTH(X) (sizeof (X) / sizeof (X)[0])
8 void die(const char *fmt, ...);
9 void *ecalloc(size_t nmemb, size_t size);