hurd: Fix exposition of s/gettimeofday through timespec_s/get
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 24 Sep 2017 23:55:02 +0000 (01:55 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 24 Sep 2017 23:55:02 +0000 (01:55 +0200)
commitfcafcd162c843364dc2bb8d57bd239c41cfd122c
treee374c7841085366fc78a92f6a66334adb36a8365
parent6174537c24cfe324d6e8f5a2a421883df12b8b6a
hurd: Fix exposition of s/gettimeofday through timespec_s/get

conform/ISO11/time.h/linknamespace complains that using timespec_get exposes
gettimeofday.

conform/POSIX/time.h/linknamespace complains that using clock_settime
exposes settimeofday.

* sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
__gettimeofday instead of gettimeofday.
* sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
instead of settimeofday.
ChangeLog
sysdeps/unix/clock_gettime.c
sysdeps/unix/clock_settime.c