chiark / gitweb /
volume_id: provide libvolume_id.a file
[elogind.git] / klibc / include / malloc.h
1 /*
2  * malloc.h
3  *
4  * Apparently people haven't caught on to use <stdlib.h>, which is the
5  * standard place for this crap since the 1980's...
6  */
7
8 #ifndef _MALLOC_H
9 #define _MALLOC_H
10
11 #include <klibc/extern.h>
12 #include <klibc/compiler.h>
13 #include <stddef.h>
14
15 __extern void free(void *);
16
17 __extern __mallocfunc void *malloc(size_t);
18 __extern __mallocfunc void *calloc(size_t, size_t);
19 __extern __mallocfunc void *realloc(void *, size_t);
20
21 #endif /* _MALLOC_H */