kernel-doc (a02001086bbfb4da35d1228bebc2f1b442db455f) | kernel-doc (7b990789a4c3420fa57596b368733158e432d444) |
---|---|
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 ## --- 1739 unchanged lines hidden (view full) --- 1748 $members =~ s/\/\*\s*private:.*?\/\*\s*public:.*?\*\///gos; 1749 $members =~ s/\/\*\s*private:.*//gos; 1750 # strip comments: 1751 $members =~ s/\/\*.*?\*\///gos; 1752 $nested =~ s/\/\*.*?\*\///gos; 1753 # strip kmemcheck_bitfield_{begin,end}.*; 1754 $members =~ s/kmemcheck_bitfield_.*?;//gos; 1755 # 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 ## --- 1739 unchanged lines hidden (view full) --- 1748 $members =~ s/\/\*\s*private:.*?\/\*\s*public:.*?\*\///gos; 1749 $members =~ s/\/\*\s*private:.*//gos; 1750 # strip comments: 1751 $members =~ s/\/\*.*?\*\///gos; 1752 $nested =~ s/\/\*.*?\*\///gos; 1753 # strip kmemcheck_bitfield_{begin,end}.*; 1754 $members =~ s/kmemcheck_bitfield_.*?;//gos; 1755 # strip attributes |
1756 $members =~ s/__aligned\s*\(.+\)//gos; | 1756 $members =~ s/__aligned\s*\([^;]*\)//gos; |
1757 1758 create_parameterlist($members, ';', $file); 1759 check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested); 1760 1761 output_declaration($declaration_name, 1762 'struct', 1763 {'struct' => $declaration_name, 1764 'module' => $modulename, --- 855 unchanged lines hidden --- | 1757 1758 create_parameterlist($members, ';', $file); 1759 check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested); 1760 1761 output_declaration($declaration_name, 1762 'struct', 1763 {'struct' => $declaration_name, 1764 'module' => $modulename, --- 855 unchanged lines hidden --- |