kernel-doc (e700ac213a0f793fb4f83098413303e3dd080892) kernel-doc (a40a8a1103051610fdee3d121a50ced09bcc1c54)
1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0
3
4use warnings;
5use strict;
6
7## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##
8## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ##

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

1784 $prototype =~ s/__init_or_module +//;
1785 $prototype =~ s/__deprecated +//;
1786 $prototype =~ s/__flatten +//;
1787 $prototype =~ s/__meminit +//;
1788 $prototype =~ s/__must_check +//;
1789 $prototype =~ s/__weak +//;
1790 $prototype =~ s/__sched +//;
1791 $prototype =~ s/__printf\s*\(\s*\d*\s*,\s*\d*\s*\) +//;
1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0
3
4use warnings;
5use strict;
6
7## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##
8## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ##

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

1784 $prototype =~ s/__init_or_module +//;
1785 $prototype =~ s/__deprecated +//;
1786 $prototype =~ s/__flatten +//;
1787 $prototype =~ s/__meminit +//;
1788 $prototype =~ s/__must_check +//;
1789 $prototype =~ s/__weak +//;
1790 $prototype =~ s/__sched +//;
1791 $prototype =~ s/__printf\s*\(\s*\d*\s*,\s*\d*\s*\) +//;
1792 $prototype =~ s/__alloc_size\s*\(\s*\d+\s*(?:,\s*\d+\s*)?\) +//;
1792 my $define = $prototype =~ s/^#\s*define\s+//; #ak added
1793 $prototype =~ s/__attribute_const__ +//;
1794 $prototype =~ s/__attribute__\s*\(\(
1795 (?:
1796 [\w\s]++ # attribute name
1797 (?:\([^)]*+\))? # attribute arguments
1798 \s*+,? # optional comma at the end
1799 )+

--- 713 unchanged lines hidden ---
1793 my $define = $prototype =~ s/^#\s*define\s+//; #ak added
1794 $prototype =~ s/__attribute_const__ +//;
1795 $prototype =~ s/__attribute__\s*\(\(
1796 (?:
1797 [\w\s]++ # attribute name
1798 (?:\([^)]*+\))? # attribute arguments
1799 \s*+,? # optional comma at the end
1800 )+

--- 713 unchanged lines hidden ---