kernel-doc (681e4a5e13c1c8315694eb4f44e0cdd84c9082d2) | kernel-doc (0df7c0e3a73f5d12bca24d81ee5ed52947b372b6) |
---|---|
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 ## --- 1772 unchanged lines hidden (view full) --- 1781 $prototype =~ s/^__inline__ +//; 1782 $prototype =~ s/^__inline +//; 1783 $prototype =~ s/^__always_inline +//; 1784 $prototype =~ s/^noinline +//; 1785 $prototype =~ s/__devinit +//; 1786 $prototype =~ s/__init +//; 1787 $prototype =~ s/__init_or_module +//; 1788 $prototype =~ s/__must_check +//; | 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 ## --- 1772 unchanged lines hidden (view full) --- 1781 $prototype =~ s/^__inline__ +//; 1782 $prototype =~ s/^__inline +//; 1783 $prototype =~ s/^__always_inline +//; 1784 $prototype =~ s/^noinline +//; 1785 $prototype =~ s/__devinit +//; 1786 $prototype =~ s/__init +//; 1787 $prototype =~ s/__init_or_module +//; 1788 $prototype =~ s/__must_check +//; |
1789 $prototype =~ s/__weak +//; |
|
1789 $prototype =~ s/^#\s*define\s+//; #ak added 1790 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; 1791 1792 # Yes, this truly is vile. We are looking for: 1793 # 1. Return type (may be nothing if we're looking at a macro) 1794 # 2. Function name 1795 # 3. Function parameters. 1796 # --- 498 unchanged lines hidden --- | 1790 $prototype =~ s/^#\s*define\s+//; #ak added 1791 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; 1792 1793 # Yes, this truly is vile. We are looking for: 1794 # 1. Return type (may be nothing if we're looking at a macro) 1795 # 2. Function name 1796 # 3. Function parameters. 1797 # --- 498 unchanged lines hidden --- |