Commit 91135840 authored by Ben Widawsky's avatar Ben Widawsky Committed by Jonathan Corbet

kernel-doc: Fix example in Nested structs/unions

Add missing ';' as well as fixes the indent for the first struct.
Signed-off-by: default avatarBen Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/20201207210027.1049346-1-ben.widawsky@intel.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent d151a23d
...@@ -247,12 +247,12 @@ It is possible to document nested structs and unions, like:: ...@@ -247,12 +247,12 @@ It is possible to document nested structs and unions, like::
struct { struct {
int memb1; int memb1;
int memb2; int memb2;
} };
struct { struct {
void *memb3; void *memb3;
int memb4; int memb4;
} };
} };
union { union {
struct { struct {
int memb1; int memb1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment