Page MenuHomeFreeBSD

D31185.diff
No OneTemporary

D31185.diff

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

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)

Event Timeline