mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06: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:
parent
b87ef3518b
commit
8e5977797d
5 changed files with 45 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue