Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142396600
D54753.id169928.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
369 B
Referenced Files
None
Subscribers
None
D54753.id169928.diff
View Options
diff --git a/sys/sys/stddef.h b/sys/sys/stddef.h
--- a/sys/sys/stddef.h
+++ b/sys/sys/stddef.h
@@ -46,6 +46,7 @@
#define _PTRDIFF_T_DECLARED
#endif
-#define offsetof(type, field) __offsetof(type, field)
+#define offsetof(type, field) __offsetof(type, field)
+#define containerof(ptr, type, member) __containerof(ptr, type, member)
#endif /* !_SYS_STDDEF_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 2:00 PM (1 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27704321
Default Alt Text
D54753.id169928.diff (369 B)
Attached To
Mode
D54753: queue(3): add function-based API
Attached
Detach File
Event Timeline
Log In to Comment