author | Randy Dunlap
<randy.dunlap@oracle.com> 2008-09-22 20:57:44 UTC |
committer | Linus Torvalds
<torvalds@linux-foundation.org> 2008-09-23 15:09:13 UTC |
parent | c32a162fd420fe8dfb049db941b2438061047fcc |
scripts/kernel-doc | +4 | -0 |
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index ff787e6ff8e..44ee94d2ab7 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -781,6 +781,7 @@ sub output_struct_xml(%) { print " <refsect1>\n"; print " <title>Members</title>\n"; + if ($#{$args{'parameterlist'}} >= 0) { print " <variablelist>\n"; foreach $parameter (@{$args{'parameterlist'}}) { ($parameter =~ /^#/) && next; @@ -798,6 +799,9 @@ sub output_struct_xml(%) { print " </varlistentry>\n"; } print " </variablelist>\n"; + } else { + print " <para>\n None\n </para>\n"; + } print " </refsect1>\n"; output_section_xml(@_);