aboutsummaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-11-14 16:42:39 +0100
committerAndreas Färber <afaerber@suse.de>2012-11-15 02:38:06 +0100
commit17e0b6ab08bd272aee24bd1a173bf0adc708d0aa (patch)
tree9e856f2ebb02e79844122a82d8e6296c599cf191 /osdep.h
parentc8aba9ced945a59fe2638d34660a940a3e727038 (diff)
osdep: Move qemu_{open,close}() prototypes
They are implemented in osdep.c, so keep the prototypes in osdep.h. Suggested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep.h b/osdep.h
index 585e2c1787..87d3b9cfa8 100644
--- a/osdep.h
+++ b/osdep.h
@@ -136,6 +136,9 @@ void qemu_vfree(void *ptr);
int qemu_madvise(void *addr, size_t len, int advice);
+int qemu_open(const char *name, int flags, ...);
+int qemu_close(int fd);
+
#if defined(__HAIKU__) && defined(__i386__)
#define FMT_pid "%ld"
#elif defined(WIN64)