diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-07 11:04:01 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 10:50:37 +0200 |
commit | e536f16e1ffc6b1e5ce6ac52657a0881d92a427d (patch) | |
tree | 1ec3920c70b58810dde3734dea36a44712863106 /include | |
parent | f793dde0914ae7f2605ee22c5bbc81dc79e23eee (diff) |
oslib: drop qemu_gettimeofday()
No longer used after the previous patches.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220307070401.171986-6-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/os-posix.h | 3 | ||||
-rw-r--r-- | include/sysemu/os-win32.h | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h index dd64fb401d..23bd45457d 100644 --- a/include/sysemu/os-posix.h +++ b/include/sysemu/os-posix.h @@ -52,9 +52,6 @@ int os_mlock(void); #define closesocket(s) close(s) #define ioctlsocket(s, r, v) ioctl(s, r, v) -typedef struct timeval qemu_timeval; -#define qemu_gettimeofday(tp) gettimeofday(tp, NULL) - int os_set_daemonize(bool d); bool is_daemonized(void); diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h index 770752222a..1351d1d29e 100644 --- a/include/sysemu/os-win32.h +++ b/include/sysemu/os-win32.h @@ -71,12 +71,6 @@ int getpagesize(void); # define EPROTONOSUPPORT EINVAL #endif -typedef struct { - long tv_sec; - long tv_usec; -} qemu_timeval; -int qemu_gettimeofday(qemu_timeval *tp); - static inline int os_set_daemonize(bool d) { if (d) { |