From 2e1e79dae7a7e0a3d698fbd359d75e3a0239bdaa Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Tue, 14 Aug 2012 16:43:46 -0400 Subject: block: Convert close calls to qemu_close This patch converts all block layer close calls, that correspond to qemu_open calls, to qemu_close. Signed-off-by: Corey Bryant Signed-off-by: Kevin Wolf --- qemu-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qemu-common.h') diff --git a/qemu-common.h b/qemu-common.h index 095e28d89a..b388c5cd70 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -208,6 +208,7 @@ const char *path(const char *pathname); void *qemu_oom_check(void *ptr); int qemu_open(const char *name, int flags, ...); +int qemu_close(int fd); ssize_t qemu_write_full(int fd, const void *buf, size_t count) QEMU_WARN_UNUSED_RESULT; ssize_t qemu_send_full(int fd, const void *buf, size_t count, int flags) -- cgit v1.2.1