diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-17 17:53:08 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:24 -0500 |
commit | 47da500a7edcdd3626997ea5c0c11a502631e3dc (patch) | |
tree | bb0c9ebf648dee5ab82703d9080d0e1e02691312 /scripts | |
parent | ac3617d90c38d7169698908198be1398c7edc693 (diff) | |
download | qemu-47da500a7edcdd3626997ea5c0c11a502631e3dc.zip qemu-47da500a7edcdd3626997ea5c0c11a502631e3dc.tar.gz qemu-47da500a7edcdd3626997ea5c0c11a502631e3dc.tar.bz2 |
Revert "kernel-doc: Handle function typedefs without asterisks"
This reverts commit 3cd3c5193cde5242e243c25759f85802e267994f.
We will replace the commit with the fix from Linux.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201117165312.118257-26-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kernel-doc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 2d56c46..780aee4 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1434,7 +1434,7 @@ sub dump_typedef($$) { $x =~ s@/\*.*?\*/@@gos; # strip comments. # Parse function prototypes - if ($x =~ /typedef\s+(\w+\s*\**)\s*\(\*?\s*(\w\S+)\s*\)\s*\((.*)\);/ || + if ($x =~ /typedef\s+(\w+\s*\**)\s*\(\*\s*(\w\S+)\s*\)\s*\((.*)\);/ || $x =~ /typedef\s+(\w+\s*\**)\s*(\w\S+)\s*\s*\((.*)\);/) { # Function typedefs |