X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=smalloc.h;h=8df10e6f67fd401defbb99b3e68ab0ab15a9d619;hp=d5d4557e121a80fc702ede0ad0655c9cb052b1f9;hb=80f021501fda6a6244672bb89dd8221a61cee54b;hpb=d24c33a479fcd68debad128da057814495f65e20 diff --git a/smalloc.h b/smalloc.h index d5d4557e..8df10e6f 100644 --- a/smalloc.h +++ b/smalloc.h @@ -1,10 +1,15 @@ #ifndef FIO_SMALLOC_H #define FIO_SMALLOC_H -extern void *smalloc(unsigned int); +#include + +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