kernel-doc (908cf4b925e419bc74f3297b2f0e51d6f8a81da2) | kernel-doc (74fc5c653c5d0f9d4d70499709a68e61c4acf991) |
---|---|
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-2008 Randy Dunlap ## --- 1629 unchanged lines hidden (view full) --- 1638 $prototype =~ s/^extern +//; 1639 $prototype =~ s/^asmlinkage +//; 1640 $prototype =~ s/^inline +//; 1641 $prototype =~ s/^__inline__ +//; 1642 $prototype =~ s/^__inline +//; 1643 $prototype =~ s/^__always_inline +//; 1644 $prototype =~ s/^noinline +//; 1645 $prototype =~ s/__devinit +//; | 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-2008 Randy Dunlap ## --- 1629 unchanged lines hidden (view full) --- 1638 $prototype =~ s/^extern +//; 1639 $prototype =~ s/^asmlinkage +//; 1640 $prototype =~ s/^inline +//; 1641 $prototype =~ s/^__inline__ +//; 1642 $prototype =~ s/^__inline +//; 1643 $prototype =~ s/^__always_inline +//; 1644 $prototype =~ s/^noinline +//; 1645 $prototype =~ s/__devinit +//; |
1646 $prototype =~ s/__init +//; |
|
1646 $prototype =~ s/^#define\s+//; #ak added 1647 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; 1648 1649 # Yes, this truly is vile. We are looking for: 1650 # 1. Return type (may be nothing if we're looking at a macro) 1651 # 2. Function name 1652 # 3. Function parameters. 1653 # --- 411 unchanged lines hidden --- | 1647 $prototype =~ s/^#define\s+//; #ak added 1648 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; 1649 1650 # Yes, this truly is vile. We are looking for: 1651 # 1. Return type (may be nothing if we're looking at a macro) 1652 # 2. Function name 1653 # 3. Function parameters. 1654 # --- 411 unchanged lines hidden --- |