smalloc: add zeroing scalloc() variant
[fio.git] / smalloc.h
index f9a5e410fae79b570973a708c95f713912d8e40c..4b551e3e4be3fd979462371a4c866c349e2bb04e 100644 (file)
--- a/smalloc.h
+++ b/smalloc.h
@@ -2,6 +2,7 @@
 #define FIO_SMALLOC_H
 
 extern void *smalloc(size_t);
+extern void *scalloc(size_t, size_t);
 extern void sfree(void *);
 extern char *smalloc_strdup(const char *);
 extern void sinit(void);