From 26b6a67b98153462d8a708461c9479e7a9b3a16d Mon Sep 17 00:00:00 2001 From: Leandro Lupori Date: Mon, 12 Aug 2019 19:44:57 +0000 Subject: [PATCH] Fix style and clarify comment Fix code style in proc.h and clarify comment about empty structs. --- sys/powerpc/include/proc.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/powerpc/include/proc.h b/sys/powerpc/include/proc.h index dcb30e1dbb0f..de739cf7d273 100644 --- a/sys/powerpc/include/proc.h +++ b/sys/powerpc/include/proc.h @@ -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; };