aboutsummaryrefslogtreecommitdiff
path: root/qemu-os-win32.h
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-10-26 10:39:23 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-30 08:02:38 +0000
commitdc786bc9103801fac5b90511b0761255b4eab622 (patch)
treebef5edd2a2c0b3f69d9b57cb129324f038c9c1ac /qemu-os-win32.h
parent949d31e665e9847b2a8f24a916abd96e79353535 (diff)
downloadqemu-dc786bc9103801fac5b90511b0761255b4eab622.zip
qemu-dc786bc9103801fac5b90511b0761255b4eab622.tar.gz
qemu-dc786bc9103801fac5b90511b0761255b4eab622.tar.bz2
Move qemu_gettimeofday() to OS specific files
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-os-win32.h')
-rw-r--r--qemu-os-win32.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-os-win32.h b/qemu-os-win32.h
index c63778d..1a07e5e 100644
--- a/qemu-os-win32.h
+++ b/qemu-os-win32.h
@@ -52,4 +52,12 @@ static inline void os_set_proc_name(const char *dummy) {}
# define EPROTONOSUPPORT EINVAL
#endif
+int setenv(const char *name, const char *value, int overwrite);
+
+typedef struct {
+ long tv_sec;
+ long tv_usec;
+} qemu_timeval;
+int qemu_gettimeofday(qemu_timeval *tp);
+
#endif