kernel-doc (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) kernel-doc (270a00963cd367214e92e6deadb3bde65b49b16a)
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 ##

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

2080 $prototype =~ s/^asmlinkage +//;
2081 $prototype =~ s/^inline +//;
2082 $prototype =~ s/^__inline__ +//;
2083 $prototype =~ s/^__inline +//;
2084 $prototype =~ s/^__always_inline +//;
2085 $prototype =~ s/^noinline +//;
2086 $prototype =~ s/__init +//;
2087 $prototype =~ s/__init_or_module +//;
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 ##

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

2080 $prototype =~ s/^asmlinkage +//;
2081 $prototype =~ s/^inline +//;
2082 $prototype =~ s/^__inline__ +//;
2083 $prototype =~ s/^__inline +//;
2084 $prototype =~ s/^__always_inline +//;
2085 $prototype =~ s/^noinline +//;
2086 $prototype =~ s/__init +//;
2087 $prototype =~ s/__init_or_module +//;
2088 $prototype =~ s/__meminit +//;
2088 $prototype =~ s/__must_check +//;
2089 $prototype =~ s/__weak +//;
2090 my $define = $prototype =~ s/^#\s*define\s+//; #ak added
2091 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;
2092
2093 # Yes, this truly is vile. We are looking for:
2094 # 1. Return type (may be nothing if we're looking at a macro)
2095 # 2. Function name

--- 523 unchanged lines hidden ---
2089 $prototype =~ s/__must_check +//;
2090 $prototype =~ s/__weak +//;
2091 my $define = $prototype =~ s/^#\s*define\s+//; #ak added
2092 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;
2093
2094 # Yes, this truly is vile. We are looking for:
2095 # 1. Return type (may be nothing if we're looking at a macro)
2096 # 2. Function name

--- 523 unchanged lines hidden ---