]> git.ipfire.org Git - thirdparty/qemu.git/commit
qtest/libqos: Reduce size_to_prdtl() declaration scope
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 13 Mar 2024 18:43:19 +0000 (19:43 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Apr 2024 12:55:32 +0000 (14:55 +0200)
commit4fbb7687cf3fccf39e2a76e41ec91c908d036621
treec071a4d751e90ba0f4b776c13aaec2732e438469
parentd6fd5d834671c8317aef5f0828504237353939ce
qtest/libqos: Reduce size_to_prdtl() declaration scope

Since size_to_prdtl() is only used within ahci.c,
declare it statically. This removes the last use
of "inlined function with external linkage". See
previous commit and commit 9de9fa5cf2 for rationale.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20240326171009.26696-4-philmd@linaro.org>
tests/qtest/libqos/ahci.c
tests/qtest/libqos/ahci.h