diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2019-02-01 12:19:42 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2019-02-01 12:24:52 +0000 |
commit | b06f4c0094d3c68be39ada0ed26ae99d51f48013 (patch) | |
tree | b9520cb4d8a61e91fade8da9a419ec0b61cfded3 /manual | |
parent | 83d1cc42d8e6b18a4b6ba53addfdae98c694ea36 (diff) | |
download | glibc-b06f4c0094d3c68be39ada0ed26ae99d51f48013.tar glibc-b06f4c0094d3c68be39ada0ed26ae99d51f48013.tar.gz glibc-b06f4c0094d3c68be39ada0ed26ae99d51f48013.tar.bz2 glibc-b06f4c0094d3c68be39ada0ed26ae99d51f48013.zip |
Cleanup clock_*time includes
Clock_gettime, settime and getres implementations are unncessarily
complex due to using defines and C file inclusion. Simplify the
code by replacing the redundant defines and removing the inclusion,
making it much easier to understand. No functional changes.
* sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
* sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
* sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
* sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
* sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
* sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
Diffstat (limited to 'manual')
0 files changed, 0 insertions, 0 deletions