kernel-doc (b7886de43c9f8a19685cd6e81135de63b9529911) kernel-doc (d4b08e0cd2d74eb652d580607982d5054dc42991)
1#!/usr/bin/perl -w
2
3use strict;
4
5## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##
6## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ##
7## Copyright (C) 2001 Simon Huggins ##
8## Copyright (C) 2005-2012 Randy Dunlap ##

--- 1825 unchanged lines hidden (view full) ---

1834 print "``$type $parameter``\n";
1835 } else {
1836 print "``$parameter``\n";
1837 }
1838 if (defined($args{'parameterdescs'}{$parameter_name}) &&
1839 $args{'parameterdescs'}{$parameter_name} ne $undescribed) {
1840 output_highlight_rst($args{'parameterdescs'}{$parameter_name});
1841 } else {
1#!/usr/bin/perl -w
2
3use strict;
4
5## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##
6## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ##
7## Copyright (C) 2001 Simon Huggins ##
8## Copyright (C) 2005-2012 Randy Dunlap ##

--- 1825 unchanged lines hidden (view full) ---

1834 print "``$type $parameter``\n";
1835 } else {
1836 print "``$parameter``\n";
1837 }
1838 if (defined($args{'parameterdescs'}{$parameter_name}) &&
1839 $args{'parameterdescs'}{$parameter_name} ne $undescribed) {
1840 output_highlight_rst($args{'parameterdescs'}{$parameter_name});
1841 } else {
1842 print " _undescribed_\n";
1842 print " *undescribed*\n";
1843 }
1844 print "\n";
1845 }
1846
1847 $lineprefix = $oldprefix;
1848 output_section_rst(@_);
1849}
1850

--- 26 unchanged lines hidden (view full) ---

1877
1878 print "**Constants**\n\n";
1879 $lineprefix = " ";
1880 foreach $parameter (@{$args{'parameterlist'}}) {
1881 print "``$parameter``\n";
1882 if ($args{'parameterdescs'}{$parameter} ne $undescribed) {
1883 output_highlight_rst($args{'parameterdescs'}{$parameter});
1884 } else {
1843 }
1844 print "\n";
1845 }
1846
1847 $lineprefix = $oldprefix;
1848 output_section_rst(@_);
1849}
1850

--- 26 unchanged lines hidden (view full) ---

1877
1878 print "**Constants**\n\n";
1879 $lineprefix = " ";
1880 foreach $parameter (@{$args{'parameterlist'}}) {
1881 print "``$parameter``\n";
1882 if ($args{'parameterdescs'}{$parameter} ne $undescribed) {
1883 output_highlight_rst($args{'parameterdescs'}{$parameter});
1884 } else {
1885 print " _undescribed_\n";
1885 print " *undescribed*\n";
1886 }
1887 print "\n";
1888 }
1889
1890 $lineprefix = $oldprefix;
1891 output_section_rst(@_);
1892}
1893

--- 1149 unchanged lines hidden ---
1886 }
1887 print "\n";
1888 }
1889
1890 $lineprefix = $oldprefix;
1891 output_section_rst(@_);
1892}
1893

--- 1149 unchanged lines hidden ---