mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
qemu-file: Make qemu_file_is_writable() non-static
The QEMUFileStdio code will use qemu_file_is_writable() and will be moved to a separate file. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
9a4ac51f72
commit
e68dd36596
2 changed files with 2 additions and 1 deletions
|
@ -456,7 +456,7 @@ void qemu_file_set_error(QEMUFile *f, int ret)
|
|||
}
|
||||
}
|
||||
|
||||
static inline bool qemu_file_is_writable(QEMUFile *f)
|
||||
bool qemu_file_is_writable(QEMUFile *f)
|
||||
{
|
||||
return f->ops->writev_buffer || f->ops->put_buffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue