Thomas Huth noticed that some linux headers use __inline__, change to inline to be consistent with the rest of QEMU.
Reported-by: Thomas Huth <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> --- scripts/update-linux-headers.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 9680e27..f208ec9 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 -- MST
