mirror of
https://github.com/mii443/qemu.git
synced 2025-09-01 14:49:23 +00: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:
committed by
Juan Quintela
parent
9a4ac51f72
commit
e68dd36596
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user