kernel-doc (a4c6ebede2f99fc3aaa5a42228a16747d0aa2504) | kernel-doc (f007492964c125cb3e88a51ba2e50c3b44d33ae0) |
---|---|
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 ## --- 1785 unchanged lines hidden (view full) --- 1794 $members =~ s/\/\*\s*private:.*?\/\*\s*public:.*?\*\///gos; 1795 $members =~ s/\/\*\s*private:.*//gos; 1796 # strip comments: 1797 $members =~ s/\/\*.*?\*\///gos; 1798 $nested =~ s/\/\*.*?\*\///gos; 1799 # strip kmemcheck_bitfield_{begin,end}.*; 1800 $members =~ s/kmemcheck_bitfield_.*?;//gos; 1801 # strip attributes | 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 ## --- 1785 unchanged lines hidden (view full) --- 1794 $members =~ s/\/\*\s*private:.*?\/\*\s*public:.*?\*\///gos; 1795 $members =~ s/\/\*\s*private:.*//gos; 1796 # strip comments: 1797 $members =~ s/\/\*.*?\*\///gos; 1798 $nested =~ s/\/\*.*?\*\///gos; 1799 # strip kmemcheck_bitfield_{begin,end}.*; 1800 $members =~ s/kmemcheck_bitfield_.*?;//gos; 1801 # strip attributes |
1802 $members =~ s/__attribute__\s*\(\([a-z,_\*\s\(\)]*\)\)//i; |
|
1802 $members =~ s/__aligned\s*\([^;]*\)//gos; | 1803 $members =~ s/__aligned\s*\([^;]*\)//gos; |
1804 $members =~ s/\s*CRYPTO_MINALIGN_ATTR//gos; |
|
1803 1804 create_parameterlist($members, ';', $file); 1805 check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested); 1806 1807 output_declaration($declaration_name, 1808 'struct', 1809 {'struct' => $declaration_name, 1810 'module' => $modulename, --- 891 unchanged lines hidden --- | 1805 1806 create_parameterlist($members, ';', $file); 1807 check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested); 1808 1809 output_declaration($declaration_name, 1810 'struct', 1811 {'struct' => $declaration_name, 1812 'module' => $modulename, --- 891 unchanged lines hidden --- |