diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-02-06 18:43:23 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-02-13 15:36:14 +0100 |
commit | 3d9e232240f9d029d7255b5b11d3a2f61c53d0d0 (patch) | |
tree | 4a62cd65b664caad8132f4156d77097ddc871483 /include/chardev | |
parent | 129263c6c08407747753c0c1f715917107cbcb3f (diff) |
char: update the mux handlers in class callback
Instead of handling mux chardev in a special way in
qemu_chr_fe_set_handlers(), we may use the chr_update_read_handler
class callback instead.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190206174328.9736-2-marcandre.lureau@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/chardev')
-rw-r--r-- | include/chardev/char-mux.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/chardev/char-mux.h b/include/chardev/char-mux.h index 1e13187767..572cefd517 100644 --- a/include/chardev/char-mux.h +++ b/include/chardev/char-mux.h @@ -55,7 +55,6 @@ typedef struct MuxChardev { #define CHARDEV_IS_MUX(chr) \ object_dynamic_cast(OBJECT(chr), TYPE_CHARDEV_MUX) -void mux_chr_set_handlers(Chardev *chr, GMainContext *context); void mux_set_focus(Chardev *chr, int focus); void mux_chr_send_all_event(Chardev *chr, int event); |