Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152967678
D40138.id122976.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
457 B
Referenced Files
None
Subscribers
None
D40138.id122976.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
Sun, Apr 19, 9:34 AM (6 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31753998
Default Alt Text
D40138.id122976.diff (457 B)
Attached To
Mode
D40138: LinuxKPI: add struct_group(...)
Attached
Detach File
Event Timeline
Log In to Comment