X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=util.h;fp=util.h;h=f633b5173ad2b5058d48574d5a18fe3f135c4193;hb=7af4d439bdb5a2e40aca69446a3367bd71431c45;hp=cded0434301b89014a41219601a8f93e206eea24;hpb=cd2d7549b3ae5ec234b45d85608f79f4d3aaa851;p=dwm.git diff --git a/util.h b/util.h index cded043..f633b51 100644 --- a/util.h +++ b/util.h @@ -4,5 +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 *ecalloc(size_t, size_t); +void die(const char *fmt, ...); +void *ecalloc(size_t nmemb, size_t size);