kernel-doc (d754ed2821fd9675d203cb73c4afcd593e28b7d0) | kernel-doc (67f2df3b82d091ed095d0e47e1f3a9d3e18e4e41) |
---|---|
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 ## --- 1715 unchanged lines hidden (view full) --- 1724 $prototype =~ s/__meminit +//; 1725 $prototype =~ s/__must_check +//; 1726 $prototype =~ s/__weak +//; 1727 $prototype =~ s/__sched +//; 1728 $prototype =~ s/_noprof//; 1729 $prototype =~ s/__printf\s*\(\s*\d*\s*,\s*\d*\s*\) +//; 1730 $prototype =~ s/__(?:re)?alloc_size\s*\(\s*\d+\s*(?:,\s*\d+\s*)?\) +//; 1731 $prototype =~ s/__diagnose_as\s*\(\s*\S+\s*(?:,\s*\d+\s*)*\) +//; | 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 ## --- 1715 unchanged lines hidden (view full) --- 1724 $prototype =~ s/__meminit +//; 1725 $prototype =~ s/__must_check +//; 1726 $prototype =~ s/__weak +//; 1727 $prototype =~ s/__sched +//; 1728 $prototype =~ s/_noprof//; 1729 $prototype =~ s/__printf\s*\(\s*\d*\s*,\s*\d*\s*\) +//; 1730 $prototype =~ s/__(?:re)?alloc_size\s*\(\s*\d+\s*(?:,\s*\d+\s*)?\) +//; 1731 $prototype =~ s/__diagnose_as\s*\(\s*\S+\s*(?:,\s*\d+\s*)*\) +//; |
1732 $prototype =~ s/DECL_BUCKET_PARAMS\s*\(\s*(\S+)\s*,\s*(\S+)\s*\)/$1, $2/; |
|
1732 my $define = $prototype =~ s/^#\s*define\s+//; #ak added 1733 $prototype =~ s/__attribute_const__ +//; 1734 $prototype =~ s/__attribute__\s*\(\( 1735 (?: 1736 [\w\s]++ # attribute name 1737 (?:\([^)]*+\))? # attribute arguments 1738 \s*+,? # optional comma at the end 1739 )+ --- 805 unchanged lines hidden --- | 1733 my $define = $prototype =~ s/^#\s*define\s+//; #ak added 1734 $prototype =~ s/__attribute_const__ +//; 1735 $prototype =~ s/__attribute__\s*\(\( 1736 (?: 1737 [\w\s]++ # attribute name 1738 (?:\([^)]*+\))? # attribute arguments 1739 \s*+,? # optional comma at the end 1740 )+ --- 805 unchanged lines hidden --- |