My configuration of sxmo fork of suckless dwm.

git clone git://watertao.xyz/programs/sxmo-dwm.git

util.h (343B)


      1 /* See LICENSE file for copyright and license details. */
      2 
      3 #ifndef MAX
      4 #define MAX(A, B)               ((A) > (B) ? (A) : (B))
      5 #endif
      6 #ifndef MIN
      7 #define MIN(A, B)               ((A) < (B) ? (A) : (B))
      8 #endif
      9 #define BETWEEN(X, A, B)        ((A) <= (X) && (X) <= (B))
     10 
     11 void die(const char *fmt, ...);
     12 void *ecalloc(size_t nmemb, size_t size);