fix UB with the function iscntrl()
[dmenu.git] / util.h
blobf633b5173ad2b5058d48574d5a18fe3f135c4193
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))
7 void die(const char *fmt, ...);
8 void *ecalloc(size_t nmemb, size_t size);