Author: luporl
Date: Mon Aug 12 19:44:57 2019
New Revision: 350953
URL: https://svnweb.freebsd.org/changeset/base/350953
Log:
Fix style and clarify comment
Fix code style in proc.h and clarify comment about empty structs.
Modified:
head/sys/powerpc/include/proc.h
Modified: head/sys/powerpc/include/proc.h
==============================================================================
--- head/sys/powerpc/include/proc.h Mon Aug 12 19:44:28 2019
(r350952)
+++ head/sys/powerpc/include/proc.h Mon Aug 12 19:44:57 2019
(r350953)
@@ -46,9 +46,8 @@ struct mdthread {
};
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++).
+ /*
+ * Avoid empty structs because they are undefined behavior.
*/
long md_spare;
};
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"