diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-10-20 01:43:22 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-10-20 01:43:22 -0400 |
commit | 928674dcd0c5c643b8a4440466103be841151f5e (patch) | |
tree | 8a3af196a753e9aca618ff96b78e7bf3e69976ba /src/math/tanhl.c | |
parent | 5850546e9669f793aab61dfc7c4f2c1ff35c4b29 (diff) | |
download | musl-928674dcd0c5c643b8a4440466103be841151f5e.tar.gz musl-928674dcd0c5c643b8a4440466103be841151f5e.tar.bz2 musl-928674dcd0c5c643b8a4440466103be841151f5e.tar.xz musl-928674dcd0c5c643b8a4440466103be841151f5e.zip |
clock_adjtime: generalize time64 not to assume old struct layout match
commit 2b4fd6f75b4fa66d28cddcf165ad48e8fda486d1 added time64 for this
function, but did so with a hidden assumption that the new time64
version of struct timex will be layout-compatible with the old one.
however, there is little benefit to doing it that way, and the cost is
permanent special-casing of 32-bit archs with 64-bit time_t in the
public interface definitions.
instead, do a full translation of the structure going in and out. this
commit is actually a revision to an earlier uncommited version of the
code.
Diffstat (limited to 'src/math/tanhl.c')
0 files changed, 0 insertions, 0 deletions