Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102679291
D31185.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
447 B
Referenced Files
None
Subscribers
None
D31185.diff
View Options
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -637,6 +637,13 @@
#endif
#define gone_in(major, msg) __gone_ok(major, msg) _gone_in(major, msg)
#define gone_in_dev(dev, major, msg) __gone_ok(major, msg) _gone_in_dev(dev, major, msg)
+
+#if defined(INVARIANTS) || defined(WITNESS)
+#define __diagused
+#else
+#define __diagused __unused
+#endif
+
#endif /* _KERNEL */
__NULLABILITY_PRAGMA_POP
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 6:37 PM (22 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14662889
Default Alt Text
D31185.diff (447 B)
Attached To
Mode
D31185: Add __diagused
Attached
Detach File
Event Timeline
Log In to Comment