]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/vm86: Fix compilation with Clang
authorThomas Huth <thuth@redhat.com>
Fri, 11 Oct 2024 16:18:45 +0000 (18:18 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 13 Oct 2024 17:34:00 +0000 (10:34 -0700)
commitd0fb97402278c746ac89059e3dd57d2f59c1cc69
tree933bda57b2543b98e63e6f78e9849594945bb6ef
parent9d08a70ddc08e9b6ecf870fd232531c78fe0b208
linux-user/vm86: Fix compilation with Clang

Since commit 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault")
a bunch of other "static inline" function are now unused, too. Clang
warns about such unused "static inline" functions in .c files, so the
build currently breaks when compiling with "--enable-werror". Remove
the unused functions to get it going again.

Fixes: 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dave@treblig.org>
Message-ID: <20241011161845.417342-1-thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/vm86.c