status-go/vendor/modernc.org/libc/musl/include/malloc.h

26 lines
362 B
C
Raw Normal View History

2024-03-07 11:42:38 +00:00
#ifndef _MALLOC_H
#define _MALLOC_H
#ifdef __cplusplus
extern "C" {
#endif
#define __NEED_size_t
#include <bits/alltypes.h>
void *malloc (size_t);
void *calloc (size_t, size_t);
void *realloc (void *, size_t);
void free (void *);
void *valloc (size_t);
void *memalign(size_t, size_t);
size_t malloc_usable_size(void *);
#ifdef __cplusplus
}
#endif
#endif