diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2010-10-26 10:39:23 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-30 08:02:38 +0000 |
commit | dc786bc9103801fac5b90511b0761255b4eab622 (patch) | |
tree | bef5edd2a2c0b3f69d9b57cb129324f038c9c1ac /osdep.h | |
parent | We only support eventfd under POSIX, move qemu_eventfd() to os-posix.c (diff) | |
download | qemu-kvm-dc786bc9103801fac5b90511b0761255b4eab622.tar.gz qemu-kvm-dc786bc9103801fac5b90511b0761255b4eab622.tar.bz2 qemu-kvm-dc786bc9103801fac5b90511b0761255b4eab622.zip |
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.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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 |