Summary: | MALLOC_DEFINE macro error in Freebsd13 OS | ||
---|---|---|---|
Product: | Base System | Reporter: | shamsher <meetshamsher> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | CC: | markj |
Priority: | --- | ||
Version: | 13.0-STABLE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
shamsher
2021-07-27 13:12:29 UTC
MALLOC_DEFINE is for the kernel's malloc() implementation, not the userspace malloc(). Note that in sys/malloc.h, _KERNEL needs to be defined for the MALLOC_DEFINE macro to be visible. If you have programming questions, please use the mailing lists (e.g., freebsd-questions, https://lists.freebsd.org/mailman/listinfo/freebsd-questions) or the forums (https://forums.freebsd.org/) to ask, rather than submitting issues to the bug tracker. |