]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
Replace remaining gmtime, localtime by gmtime_r, localtime_r
authorStefan Weil <sw@weilnetz.de>
Mon, 7 Jan 2013 22:08:13 +0000 (23:08 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 11 Jan 2013 08:44:37 +0000 (09:44 +0100)
commiteb7ff6fb0bddb33991fa44586ac8e2e02019dc97
tree0a6fcfc7520909bc0ec7e74ec1921c402076c7b2
parent68b891ec3937aa2e18eed5a403b1d9fd9b875084
Replace remaining gmtime, localtime by gmtime_r, localtime_r

This allows removing of MinGW specific code and improves
reentrancy for POSIX hosts.

[Removed unused ret variable in qemu_get_timedate() to fix warning:
vl.c: In function ‘qemu_get_timedate’:
vl.c:451:16: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
-- Stefan Hajnoczi]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
block/vvfat.c
hw/omap1.c
vl.c