m1n1/sysinc/malloc.h
Sven Peter d256b89343 malloc.h: include stddef to ensure size_t is defined
Signed-off-by: Sven Peter <sven@svenpeter.dev>
2021-04-11 05:26:29 +09:00

16 lines
319 B
C

/* SPDX-License-Identifier: MIT */
#ifndef MALLOC_H
#define MALLOC_H
#include <stddef.h>
void *malloc(size_t);
void free(void *);
void *calloc(size_t, size_t);
void *realloc(void *, size_t);
void *realloc_in_place(void *, size_t);
void *memalign(size_t, size_t);
int posix_memalign(void **, size_t, size_t);
#endif