Introduction
Introduction Statistics Contact Development Disclaimer Help
util.h: add ecalloc from util.c and fix die() argument declaration - libsl - sh…
git clone git://git.suckless.org/libsl
Log
Files
Refs
LICENSE
---
commit 96e040538ee37ebcd1b0ade913280838385634b8
parent 53ebcb48c6b12882c6dbe352ee43c96b2fb01b84
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 26 Sep 2019 22:57:15 +0200
util.h: add ecalloc from util.c and fix die() argument declaration
Diffstat:
M util.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git 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);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.