Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163534208
D34037.id101926.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
546 B
Referenced Files
None
Subscribers
None
D34037.id101926.diff
View Options
Index: sys/sys/malloc.h
===================================================================
--- sys/sys/malloc.h
+++ sys/sys/malloc.h
@@ -39,7 +39,7 @@
#ifndef _STANDALONE
#include <sys/param.h>
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_KERNEL_UT)
#include <sys/systm.h>
#endif
#include <sys/queue.h>
@@ -141,7 +141,7 @@
char mth_name[MALLOC_MAX_NAME];
};
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_KERNEL_UT)
#define MALLOC_DEFINE(type, shortdesc, longdesc) \
struct malloc_type type[1] = { \
{ \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 25, 5:37 AM (3 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35463995
Default Alt Text
D34037.id101926.diff (546 B)
Attached To
Mode
D34037: Expose <sys/malloc.h> kernel decls to sysunit tests
Attached
Detach File
Event Timeline
Log In to Comment