kernel-doc (95b6be9d198d964fafd9cbf1dd4d1968291e255c) kernel-doc (da9726ecfba202514d984129c3537b028519cdb8)
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 ##

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

479 $function = shift @ARGV;
480 $function_table{$function} = 1;
481 } elsif ($cmd eq "-nofunction") { # output all except specific functions
482 $output_selection = OUTPUT_EXCLUDE;
483 $function = shift @ARGV;
484 $function_table{$function} = 1;
485 } elsif ($cmd eq "-export") { # only exported symbols
486 $output_selection = OUTPUT_EXPORTED;
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 ##

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

479 $function = shift @ARGV;
480 $function_table{$function} = 1;
481 } elsif ($cmd eq "-nofunction") { # output all except specific functions
482 $output_selection = OUTPUT_EXCLUDE;
483 $function = shift @ARGV;
484 $function_table{$function} = 1;
485 } elsif ($cmd eq "-export") { # only exported symbols
486 $output_selection = OUTPUT_EXPORTED;
487 %function_table = ()
487 %function_table = ();
488 } elsif ($cmd eq "-internal") { # only non-exported symbols
489 $output_selection = OUTPUT_INTERNAL;
488 } elsif ($cmd eq "-internal") { # only non-exported symbols
489 $output_selection = OUTPUT_INTERNAL;
490 %function_table = ()
490 %function_table = ();
491 } elsif ($cmd eq "-v") {
492 $verbose = 1;
493 } elsif (($cmd eq "-h") || ($cmd eq "--help")) {
494 usage();
495 } elsif ($cmd eq '-no-doc-sections') {
496 $no_doc_sections = 1;
497 } elsif ($cmd eq '-enable-lineno') {
498 $enable_lineno = 1;

--- 2588 unchanged lines hidden ---
491 } elsif ($cmd eq "-v") {
492 $verbose = 1;
493 } elsif (($cmd eq "-h") || ($cmd eq "--help")) {
494 usage();
495 } elsif ($cmd eq '-no-doc-sections') {
496 $no_doc_sections = 1;
497 } elsif ($cmd eq '-enable-lineno') {
498 $enable_lineno = 1;

--- 2588 unchanged lines hidden ---