aboutsummaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-02-03 09:22:25 +0100
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2022-02-17 07:16:19 +0100
commit48343e99b8bb27fdc7763e521ea7e651ecc7a7ba (patch)
treec541b394ebb9d03d8b51919eb6cadef917a819b3 /nsxiv.h
parent9cdeeab9b813a44ac6f23c0494626fa0f0727f42 (diff)
downloadnsxiv-48343e99b8bb27fdc7763e521ea7e651ecc7a7ba.tar.zst
code-style: prefer calloc over malloc+memset
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h1
1 files changed, 1 insertions, 0 deletions
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*, ...);