From fcafcd162c843364dc2bb8d57bd239c41cfd122c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 25 Sep 2017 01:55:02 +0200 Subject: 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 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 84b1937ce0..87803bd754 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,10 @@ * bits/socket.h: Likewise. * support/resolv_test.c (server_thread_udp_process_one): Call recvfrom instead of xrecvfrom, and ignore ECONNREFUSED errors. + * 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. 2017-09-22 Joseph Myers -- cgit 1.4.1