Squashed 'dwm/' content from commit 44dbc68
git-subtree-dir: dwm git-subtree-split: 44dbc6809d05b8f2addc483f882e670db0b6b8e9
This commit is contained in:
commit
6187187d4a
13 changed files with 3247 additions and 0 deletions
9
util.h
Normal file
9
util.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* See LICENSE file for copyright and license details. */
|
||||
|
||||
#define MAX(A, B) ((A) > (B) ? (A) : (B))
|
||||
#define MIN(A, B) ((A) < (B) ? (A) : (B))
|
||||
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
|
||||
#define LENGTH(X) (sizeof (X) / sizeof (X)[0])
|
||||
|
||||
void die(const char *fmt, ...);
|
||||
void *ecalloc(size_t nmemb, size_t size);
|
||||
Loading…
Add table
Add a link
Reference in a new issue