aboutsummaryrefslogtreecommitdiff
path: root/osdep.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 /osdep.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 'osdep.h')
-rw-r--r--osdep.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/osdep.h b/osdep.h
index 6716281..8bd30d7 100644
--- a/osdep.h
+++ b/osdep.h
@@ -127,19 +127,4 @@ int qemu_madvise(void *addr, size_t len, int advice);
int qemu_create_pidfile(const char *filename);
-#ifdef _WIN32
-int ffs(int i);
-
-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);
-#else
-typedef struct timeval qemu_timeval;
-#define qemu_gettimeofday(tp) gettimeofday(tp, NULL);
-#endif /* !_WIN32 */
-
#endif