freebsd-src/include/malloc.h
Andrey A. Chernov 89247e2d78 Add malloc.h for better SYSV/Linux compatibility like most
providers (like SUN f.e.) does.
malloc.h have comment about its SYSVism
1994-11-15 13:42:20 +00:00

17 lines
374 B
C

/* This file is SYSV-ism (for compatibility only) */
/* this declarations must match stdlib.h ones */
#if !defined(_MALLOC_H_) && !defined(_STDLIB_H_)
#define _MALLOC_H_
#include <sys/cdefs.h>
__BEGIN_DECLS
void *calloc __P((size_t, size_t));
void free __P((void *));
void *malloc __P((size_t));
void *realloc __P((void *, size_t));
__END_DECLS
#endif /* _MALLOC_H_ */