X-Git-Url: https://git.danieliu.xyz/?p=dwm.git;a=blobdiff_plain;f=util.h;h=f633b5173ad2b5058d48574d5a18fe3f135c4193;hp=f7ce72174f047a79355b6171de3a251da6ca8618;hb=HEAD;hpb=14343e69cc596b847f71f1e825d3019ab1a29aa8 diff --git a/util.h b/util.h index f7ce721..f633b51 100644 --- a/util.h +++ b/util.h @@ -4,4 +4,5 @@ #define MIN(A, B) ((A) < (B) ? (A) : (B)) #define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B)) -void die(const char *errstr, ...); +void die(const char *fmt, ...); +void *ecalloc(size_t nmemb, size_t size);