code-style: prefer calloc over malloc+memset

This commit is contained in:
NRK
2022-02-03 14:22:25 +06:00
committed by N-R-K
parent 9cdeeab9b8
commit 48343e99b8
4 changed files with 15 additions and 7 deletions

View File

@ -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*, ...);