mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 14:08:32 +00:00
monitor: Add ringbuf_write and ringbuf_read argument completion
Export chr_is_ringbuf() function. Also remove left-over function prototypes while at it. Signed-off-by: Hani Benhabiles <hani@linux.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
committed by
Luiz Capitulino
parent
b87ef3518b
commit
8e5977797d
@@ -2849,7 +2849,7 @@ fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static bool chr_is_ringbuf(const CharDriverState *chr)
|
||||
bool chr_is_ringbuf(const CharDriverState *chr)
|
||||
{
|
||||
return chr->chr_write == ringbuf_chr_write;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user