From 48343e99b8bb27fdc7763e521ea7e651ecc7a7ba Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 3 Feb 2022 14:22:25 +0600 Subject: code-style: prefer calloc over malloc+memset --- nsxiv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nsxiv.h') diff --git a/nsxiv.h b/nsxiv.h index 6ac6e4f..a9d4dad 100644 --- a/nsxiv.h +++ b/nsxiv.h @@ -345,6 +345,7 @@ typedef struct { extern const char *progname; void* emalloc(size_t); +void* ecalloc(size_t, size_t); void* erealloc(void*, size_t); char* estrdup(const char*); void error(int, int, const char*, ...); -- cgit v1.2.3-54-g00ecf