update-linux-headers.sh: s/__inline__/inline/

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>
This commit is contained in:
Michael S. Tsirkin 2015-02-18 16:37:35 +01:00
parent 7c2c1fa5f4
commit c16758cb4f

View File

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