From b1eee9bb6de5902a8eabff4a9e7556855fadea6c Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 18 Mar 2021 16:55:09 +0100 Subject: qemuutil: remove qemu_set_fd_handler duplicate symbol libqemuutil has two definitions of qemu_set_fd_handler. This is not needed since the only users of the function are qemu-io.c and the emulators, both of which already include util/main-loop.c. Signed-off-by: Paolo Bonzini Message-Id: Tested-by: Markus Armbruster Signed-off-by: Markus Armbruster Message-Id: <20210318155519.1224118-2-armbru@redhat.com> --- stubs/set-fd-handler.c | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 stubs/set-fd-handler.c (limited to 'stubs/set-fd-handler.c') diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c deleted file mode 100644 index bff7e0a45a..0000000000 --- a/stubs/set-fd-handler.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "qemu/osdep.h" -#include "qemu/main-loop.h" - -void qemu_set_fd_handler(int fd, - IOHandler *fd_read, - IOHandler *fd_write, - void *opaque) -{ - abort(); -} -- cgit v1.2.3-55-g7522