From patchwork Wed Jan 20 20:13:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [02/17] force to test result for qemu_write_full() Date: Wed, 20 Jan 2010 10:13:58 -0000 From: Juan Quintela X-Patchwork-Id: 43344 Message-Id: To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- qemu-common.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu-common.h b/qemu-common.h index a2731e1..ae4f23b 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -161,7 +161,8 @@ void qemu_mutex_lock_iothread(void); void qemu_mutex_unlock_iothread(void); int qemu_open(const char *name, int flags, ...); -ssize_t qemu_write_full(int fd, const void *buf, size_t count); +ssize_t qemu_write_full(int fd, const void *buf, size_t count) + QEMU_WARN_UNUSED_RESULT; void qemu_set_cloexec(int fd); #ifndef _WIN32