From e68dd3659628c41447f46da6657d68da83c3cf88 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Wed, 1 Oct 2014 17:34:34 -0300 Subject: 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 Reviewed-by: Markus Armbruster Signed-off-by: Juan Quintela --- qemu-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-file.c') diff --git a/qemu-file.c b/qemu-file.c index a5bbe7ebb0..c303b61373 100644 --- a/qemu-file.c +++ b/qemu-file.c @@ -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; } -- cgit v1.2.3