aboutsummaryrefslogtreecommitdiff
path: root/stubs/set-fd-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/set-fd-handler.c')
-rw-r--r--stubs/set-fd-handler.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c
new file mode 100644
index 0000000000..4807b5dc22
--- /dev/null
+++ b/stubs/set-fd-handler.c
@@ -0,0 +1,11 @@
+#include "qemu-common.h"
+#include "main-loop.h"
+
+int qemu_set_fd_handler2(int fd,
+ IOCanReadHandler *fd_read_poll,
+ IOHandler *fd_read,
+ IOHandler *fd_write,
+ void *opaque)
+{
+ abort();
+}