Fix style and clarify comment
Fix code style in proc.h and clarify comment about empty structs.
This commit is contained in:
parent
4e8872c800
commit
26b6a67b98
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user