]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/kernel-doc
Merge remote-tracking branch 'remotes/jsnow-gitlab/tags/python-pull-request' into...
[mirror_qemu.git] / scripts / kernel-doc
index 4b19851b2dbab1194948ea0eb57b12168c9f9761..240923d509a6fcdf2a53b7e458739867174f637b 100755 (executable)
@@ -1745,6 +1745,9 @@ sub dump_function($$) {
             )+
           \)\)\s+//x;
 
+    # Strip QEMU specific compiler annotations
+    $prototype =~ s/QEMU_[A-Z_]+ +//;
+
     # Yes, this truly is vile.  We are looking for:
     # 1. Return type (may be nothing if we're looking at a macro)
     # 2. Function name