Page MenuHomeFreeBSD

D21231.id.diff
No OneTemporary

D21231.id.diff

Index: head/sys/powerpc/include/proc.h
===================================================================
--- head/sys/powerpc/include/proc.h
+++ head/sys/powerpc/include/proc.h
@@ -46,6 +46,11 @@
};
struct mdproc {
+ /* Avoid empty structs, that have undefined behavior in C99 and
+ * make compilers complain about it
+ * (empty struct has size 0 in C, size 1 in C++).
+ */
+ long md_spare;
};
#ifdef __powerpc64__

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 3:42 PM (6 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31040144
Default Alt Text
D21231.id.diff (428 B)

Event Timeline