qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 02/17] force to test result for qemu_write_full()


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 02/17] force to test result for qemu_write_full()
Date: Wed, 20 Jan 2010 00:56:09 +0100

Signed-off-by: Juan Quintela <address@hidden>
---
 qemu-common.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/qemu-common.h b/qemu-common.h
index a8144cb..f009796 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -160,7 +160,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
-- 
1.6.5.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]