kernel-doc (b031ac4e7ddcd16e34cbc4fa33e340857a99d181) | kernel-doc (bdfe2be34b37d988a525d5559fe132728510735a) |
---|---|
1#!/usr/bin/env perl 2 3use warnings; 4use strict; 5 6## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ## 7## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ## 8## Copyright (C) 2001 Simon Huggins ## --- 254 unchanged lines hidden (view full) --- 263if ($#ARGV == -1) { 264 usage(); 265} 266 267my $kernelversion; 268my $dohighlight = ""; 269 270my $verbose = 0; | 1#!/usr/bin/env perl 2 3use warnings; 4use strict; 5 6## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ## 7## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ## 8## Copyright (C) 2001 Simon Huggins ## --- 254 unchanged lines hidden (view full) --- 263if ($#ARGV == -1) { 264 usage(); 265} 266 267my $kernelversion; 268my $dohighlight = ""; 269 270my $verbose = 0; |
271my $output_mode = "man"; | 271my $output_mode = "rst"; |
272my $output_preformatted = 0; 273my $no_doc_sections = 0; 274my $enable_lineno = 0; | 272my $output_preformatted = 0; 273my $no_doc_sections = 0; 274my $enable_lineno = 0; |
275my @highlights = @highlights_man; 276my $blankline = $blankline_man; | 275my @highlights = @highlights_rst; 276my $blankline = $blankline_rst; |
277my $modulename = "Kernel API"; 278 279use constant { 280 OUTPUT_ALL => 0, # output all symbols and doc sections 281 OUTPUT_INCLUDE => 1, # output only specified symbols 282 OUTPUT_EXCLUDE => 2, # output everything except specified symbols 283 OUTPUT_EXPORTED => 3, # output exported symbols 284 OUTPUT_INTERNAL => 4, # output non-exported symbols --- 1800 unchanged lines hidden --- | 277my $modulename = "Kernel API"; 278 279use constant { 280 OUTPUT_ALL => 0, # output all symbols and doc sections 281 OUTPUT_INCLUDE => 1, # output only specified symbols 282 OUTPUT_EXCLUDE => 2, # output everything except specified symbols 283 OUTPUT_EXPORTED => 3, # output exported symbols 284 OUTPUT_INTERNAL => 4, # output non-exported symbols --- 1800 unchanged lines hidden --- |