X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=smalloc.h;h=1f7716f45a8d0308f4bcee85225382052d23d08f;hb=1c75cb5febdfdea9f9b6999e222859fcf2c2e801;hp=6905c6a8c3c806a7ce20616452bb4b82f1fbfe89;hpb=2b386d2569c9078ca9790c4e6d318ec3835b8739;p=fio.git diff --git a/smalloc.h b/smalloc.h index 6905c6a8..1f7716f4 100644 --- a/smalloc.h +++ b/smalloc.h @@ -1,11 +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 void smalloc_debug(size_t); extern unsigned int smalloc_pool_size;