提交 c51d3dac 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

[PATCH] kernel-doc: use Members for struct fields consistently

kernel-doc struct fields should be consistently called "Members", not
"Arguments", so switch man-mode output to use "Members" like all of the
other formats do.
Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 ecfb251a
...@@ -1065,7 +1065,7 @@ sub output_struct_man(%) { ...@@ -1065,7 +1065,7 @@ sub output_struct_man(%) {
} }
print "};\n.br\n"; print "};\n.br\n";
print ".SH Arguments\n"; print ".SH Members\n";
foreach $parameter (@{$args{'parameterlist'}}) { foreach $parameter (@{$args{'parameterlist'}}) {
($parameter =~ /^#/) && next; ($parameter =~ /^#/) && next;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册