filesetup: keep OS_O_DIRECT flag when pre-allocating file
[fio.git] / smalloc.h
index d5d4557e121a80fc702ede0ad0655c9cb052b1f9..4b551e3e4be3fd979462371a4c866c349e2bb04e 100644 (file)
--- a/smalloc.h
+++ b/smalloc.h
@@ -1,10 +1,13 @@
 #ifndef FIO_SMALLOC_H
 #define FIO_SMALLOC_H
 
-extern void *smalloc(unsigned int);
+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);
 extern void scleanup(void);
 
+extern unsigned int smalloc_pool_size;
+
 #endif