summaryrefslogtreecommitdiffstats
path: root/hw/arm/aspeed.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-04-30 13:59:06 +0200
committerDaniel P. Berrangé2021-06-14 14:28:50 +0200
commit970bc16f60937bcfd334f14c614bd4407c247961 (patch)
tree12f52ea63dd521a03864c3ca028c9a2473dcaded /hw/arm/aspeed.c
parentblock: use GDateTime for formatting timestamp when dumping snapshot info (diff)
downloadqemu-970bc16f60937bcfd334f14c614bd4407c247961.tar.gz
qemu-970bc16f60937bcfd334f14c614bd4407c247961.tar.xz
qemu-970bc16f60937bcfd334f14c614bd4407c247961.zip
usb/dev-mtp: use GDateTime for formatting timestamp for objects
The GDateTime APIs provided by GLib avoid portability pitfalls, such as some platforms where 'struct timeval.tv_sec' field is still 'long' instead of 'time_t'. When combined with automatic cleanup, GDateTime often results in simpler code too. Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'hw/arm/aspeed.c')
0 files changed, 0 insertions, 0 deletions