Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107422249
D45561.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
D45561.diff
View Options
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -180,6 +180,7 @@
#define __aligned(x) __attribute__((__aligned__(x)))
#define __section(x) __attribute__((__section__(x)))
#endif
+#define __writeonly __unused
#if __GNUC_PREREQ__(4, 3) || __has_attribute(__alloc_size__)
#define __alloc_size(x) __attribute__((__alloc_size__(x)))
#define __alloc_size2(n, x) __attribute__((__alloc_size__(n, x)))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 10:57 PM (8 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15801968
Default Alt Text
D45561.diff (447 B)
Attached To
Mode
D45561: cdefs: Add __writeonly to mark write only vars
Attached
Detach File
Event Timeline
Log In to Comment