aboutsummaryrefslogtreecommitdiff
path: root/scripts/update-linux-headers.sh
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-02-18 16:37:35 +0100
committerMichael S. Tsirkin <mst@redhat.com>2015-02-26 13:04:08 +0100
commitc16758cb4f273f72606cd9002fa31c2651822fcd (patch)
tree6ef5f37277fc6fe8dc1883c164163af5bf143fe2 /scripts/update-linux-headers.sh
parent7c2c1fa5f428b7087721f7312ee82b9de05da6ca (diff)
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>
Diffstat (limited to 'scripts/update-linux-headers.sh')
-rwxr-xr-xscripts/update-linux-headers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 9680e2711a..f208ec9c51 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -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