]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Flush out implementation of gettimeofday
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 13 Feb 2020 03:22:23 +0000 (19:22 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 26 Mar 2020 07:08:54 +0000 (08:08 +0100)
commita52f5f87bece827a338d6eb3332e3def86fb9c33
tree7f900e831108e37265023aac2a4349f7c23d377b
parentbf02adcd888f2837f6accc235a3acf69ca2e82f8
linux-user: Flush out implementation of gettimeofday

The first argument, timeval, is allowed to be NULL.

The second argument, timezone, was missing.  While its use is
deprecated, it is still present in the syscall.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200213032223.14643-6-richard.henderson@linaro.org>
[lv: add "#if defined(TARGET_NR_gettimeofday)"]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c