kernel-doc (640958fde130acfea98f539dfd4de6a9e72cf012) kernel-doc (51a7bf0238c265a34d7d27c489eb4cd52e083e87)
1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0
3# vim: softtabstop=4
4
5use warnings;
6use strict;
7
8## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##

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

1718 $prototype =~ s/__init +//;
1719 $prototype =~ s/__init_or_module +//;
1720 $prototype =~ s/__deprecated +//;
1721 $prototype =~ s/__flatten +//;
1722 $prototype =~ s/__meminit +//;
1723 $prototype =~ s/__must_check +//;
1724 $prototype =~ s/__weak +//;
1725 $prototype =~ s/__sched +//;
1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0
3# vim: softtabstop=4
4
5use warnings;
6use strict;
7
8## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##

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

1718 $prototype =~ s/__init +//;
1719 $prototype =~ s/__init_or_module +//;
1720 $prototype =~ s/__deprecated +//;
1721 $prototype =~ s/__flatten +//;
1722 $prototype =~ s/__meminit +//;
1723 $prototype =~ s/__must_check +//;
1724 $prototype =~ s/__weak +//;
1725 $prototype =~ s/__sched +//;
1726 $prototype =~ s/_noprof//;
1726 $prototype =~ s/__printf\s*\(\s*\d*\s*,\s*\d*\s*\) +//;
1727 $prototype =~ s/__(?:re)?alloc_size\s*\(\s*\d+\s*(?:,\s*\d+\s*)?\) +//;
1728 $prototype =~ s/__diagnose_as\s*\(\s*\S+\s*(?:,\s*\d+\s*)*\) +//;
1729 my $define = $prototype =~ s/^#\s*define\s+//; #ak added
1730 $prototype =~ s/__attribute_const__ +//;
1731 $prototype =~ s/__attribute__\s*\(\(
1732 (?:
1733 [\w\s]++ # attribute name

--- 808 unchanged lines hidden ---
1727 $prototype =~ s/__printf\s*\(\s*\d*\s*,\s*\d*\s*\) +//;
1728 $prototype =~ s/__(?:re)?alloc_size\s*\(\s*\d+\s*(?:,\s*\d+\s*)?\) +//;
1729 $prototype =~ s/__diagnose_as\s*\(\s*\S+\s*(?:,\s*\d+\s*)*\) +//;
1730 my $define = $prototype =~ s/^#\s*define\s+//; #ak added
1731 $prototype =~ s/__attribute_const__ +//;
1732 $prototype =~ s/__attribute__\s*\(\(
1733 (?:
1734 [\w\s]++ # attribute name

--- 808 unchanged lines hidden ---