mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
chardev: use QEMUChrEvent instead of int
This uses the QEMUChrEvent enum everywhere except in IOEventHandler. The IOEventHandler change needs to happen at once for all front ends and is done with Coccinelle in the next patch. (Extracted from a patch by Philippe Mathieu-Daudé). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
71f8d3b0e6
commit
2fa9044a4f
4 changed files with 8 additions and 8 deletions
|
@ -56,6 +56,6 @@ typedef struct MuxChardev {
|
|||
object_dynamic_cast(OBJECT(chr), TYPE_CHARDEV_MUX)
|
||||
|
||||
void mux_set_focus(Chardev *chr, int focus);
|
||||
void mux_chr_send_all_event(Chardev *chr, int event);
|
||||
void mux_chr_send_all_event(Chardev *chr, QEMUChrEvent event);
|
||||
|
||||
#endif /* CHAR_MUX_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue