Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148948249
D40138.1789252529.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
457 B
Referenced Files
None
Subscribers
None
D40138.1789252529.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/stddef.h b/sys/compat/linuxkpi/common/include/linux/stddef.h
--- a/sys/compat/linuxkpi/common/include/linux/stddef.h
+++ b/sys/compat/linuxkpi/common/include/linux/stddef.h
@@ -5,5 +5,11 @@
#include <sys/stddef.h>
+#define struct_group(NAME, ...) \
+ union { \
+ struct { __VA_ARGS__ }; \
+ struct { __VA_ARGS__ } NAME; \
+ }
+
#endif /* _LINUXKPI_LINUX_STDDEF_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 12, 10:35 PM (9 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29570456
Default Alt Text
D40138.1789252529.diff (457 B)
Attached To
Mode
D40138: LinuxKPI: add struct_group(...)
Attached
Detach File
Event Timeline
Log In to Comment