1/* 2 * Copyright 2022, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _OBSD_COMPAT_SYS_MALLOC_H_ 6#define _OBSD_COMPAT_SYS_MALLOC_H_ 7 8 9#include_next <sys/malloc.h> 10 11 12#define malloc(size, base, flags) kernel_malloc(size, base, flags) 13#define free(addr, type, freedsize) _kernel_free(addr) 14 15 16#define M_CANFAIL (0) 17 18 19#endif /* _OBSD_COMPAT_SYS_MALLOC_H_ */ 20