kernel-doc (ef5da59f12602815baa8fad98241b77dedea3b31) kernel-doc (20072205fcdf7d85cd3101f1f11dfab333c5fd0c)
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-2009 Randy Dunlap ##

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

1725 $prototype =~ s/^asmlinkage +//;
1726 $prototype =~ s/^inline +//;
1727 $prototype =~ s/^__inline__ +//;
1728 $prototype =~ s/^__inline +//;
1729 $prototype =~ s/^__always_inline +//;
1730 $prototype =~ s/^noinline +//;
1731 $prototype =~ s/__devinit +//;
1732 $prototype =~ s/__init +//;
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-2009 Randy Dunlap ##

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

1725 $prototype =~ s/^asmlinkage +//;
1726 $prototype =~ s/^inline +//;
1727 $prototype =~ s/^__inline__ +//;
1728 $prototype =~ s/^__inline +//;
1729 $prototype =~ s/^__always_inline +//;
1730 $prototype =~ s/^noinline +//;
1731 $prototype =~ s/__devinit +//;
1732 $prototype =~ s/__init +//;
1733 $prototype =~ s/__init_or_module +//;
1733 $prototype =~ s/^#\s*define\s+//; #ak added
1734 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;
1735
1736 # Yes, this truly is vile. We are looking for:
1737 # 1. Return type (may be nothing if we're looking at a macro)
1738 # 2. Function name
1739 # 3. Function parameters.
1740 #

--- 490 unchanged lines hidden ---
1734 $prototype =~ s/^#\s*define\s+//; #ak added
1735 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;
1736
1737 # Yes, this truly is vile. We are looking for:
1738 # 1. Return type (may be nothing if we're looking at a macro)
1739 # 2. Function name
1740 # 3. Function parameters.
1741 #

--- 490 unchanged lines hidden ---