]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
update-linux-headers.sh: s/__inline__/inline/
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Feb 2015 15:37:35 +0000 (16:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 12:04:08 +0000 (13:04 +0100)
Thomas Huth noticed that some linux headers
use __inline__, change to inline to be consistent
with the rest of QEMU.

Reported-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
scripts/update-linux-headers.sh

index 9680e2711a595037dd65b6966fdc7b7a0d9ba46b..f208ec9c51dab0352def59a7a2643da1d9b85133 100755 (executable)
@@ -53,6 +53,7 @@ cp_virtio() {
                 -e 's/<linux\/\([^>]*\)>/"standard-headers\/linux\/\1"/' \
                 -e 's/__bitwise__//' \
                 -e 's/__attribute__((packed))/QEMU_PACKED/' \
+                -e 's/__inline__/inline/' \
                 "$f" > "$to/$header";
         done
     fi