On 22/2/22 20:40, [email protected] wrote:
From: Marc-André Lureau <[email protected]>The socket API wrappers were initially introduced in commit 00aa0040 ("Wrap recv to avoid warnings"), but made redundatant with commit a2d96af4 ("osdep: add wrappers for socket functions") which fixes the win32 declarations and thus removed the earlier warnings. Signed-off-by: Marc-André Lureau <[email protected]> --- include/qemu-common.h | 19 ------------------- crypto/cipher-afalg.c | 4 ++-- crypto/hash-afalg.c | 4 ++-- gdbstub.c | 2 +- io/channel-socket.c | 6 +++--- net/socket.c | 24 ++++++++++++------------ tests/qtest/e1000e-test.c | 4 ++-- tests/qtest/libqtest.c | 4 ++-- tests/qtest/npcm7xx_emc-test.c | 4 ++-- tests/qtest/test-filter-mirror.c | 4 ++-- tests/qtest/test-filter-redirector.c | 8 ++++---- tests/qtest/virtio-net-test.c | 10 +++++----- tests/unit/socket-helpers.c | 2 +- util/osdep.c | 4 ++-- util/qemu-sockets.c | 10 +++++----- 15 files changed, 45 insertions(+), 64 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
