aboutsummaryrefslogtreecommitdiff
path: root/libsframe
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-10 21:57:47 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-10 22:31:54 -0500
commitb1f974faeb5f1423639f387714699a2bde0c5610 (patch)
tree08b59f94c14d17a58f8ba615c6f6ec300bbc9c85 /libsframe
parentc66061f40399dbb42a98707fc4fd1227b6a23751 (diff)
downloadgdb-b1f974faeb5f1423639f387714699a2bde0c5610.zip
gdb-b1f974faeb5f1423639f387714699a2bde0c5610.tar.gz
gdb-b1f974faeb5f1423639f387714699a2bde0c5610.tar.bz2
sim: m32r: migrate ftime() to clock_gettime()
The ftime() function has been deprecated since POSIX-1-2004, and removed in POSIX.1-2008. It's also been deprecated/removed in glibc since 2.33. POSIX has always said the function is not portable, and its return value, timezone, and dstflag fields are unspecified. Even if Linux/glibc & m32r had defined behavior, those aren't the host for the sim runtime. So let's stop using the function and switch to clock_gettime. gnulib already has detection support for it, and it's been around since at least POSIX-1-2004.
Diffstat (limited to 'libsframe')
0 files changed, 0 insertions, 0 deletions