aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2016-03-17 22:29:00 +0000
committerFreeArtMan <dos21h@gmail.com>2016-03-17 22:29:00 +0000
commita2f559566ac0a4f8089608d4e90e5c902a99f915 (patch)
tree010dcf804116f883e077929e362bc1e1ff3cc721 /util.h
parentc7d7552e5c4161ee209b114298109e3cc56ee471 (diff)
downloaddwm-fancy-a2f559566ac0a4f8089608d4e90e5c902a99f915.tar.gz
dwm-fancy-a2f559566ac0a4f8089608d4e90e5c902a99f915.zip
Update to freshest dwm-6.1 version. Ignore all changes
Diffstat (limited to 'util.h')
-rw-r--r--util.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/util.h b/util.h
index c05f038..cded043 100644
--- a/util.h
+++ b/util.h
@@ -1,11 +1,8 @@
/* See LICENSE file for copyright and license details. */
-#ifndef MAX
#define MAX(A, B) ((A) > (B) ? (A) : (B))
-#endif
-
-#ifndef MIN
#define MIN(A, B) ((A) < (B) ? (A) : (B))
-#endif
+#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
void die(const char *errstr, ...);
+void *ecalloc(size_t, size_t);