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 /qemu-os-posix.h | |
parent | 949d31e665e9847b2a8f24a916abd96e79353535 (diff) |
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-posix.h')
-rw-r--r-- | qemu-os-posix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-os-posix.h b/qemu-os-posix.h index ed5c058bc..353f87813 100644 --- a/qemu-os-posix.h +++ b/qemu-os-posix.h @@ -36,4 +36,7 @@ void os_setup_signal_handling(void); void os_daemonize(void); void os_setup_post(void); +typedef struct timeval qemu_timeval; +#define qemu_gettimeofday(tp) gettimeofday(tp, NULL) + #endif |