From cd4f93ff2a4acd0b59ac655c18bb776e50442294 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 20 Jan 2019 00:41:59 +0300 Subject: [PATCH] Added missing glibc compatibility functions --- libs/libglibc-compatibility/musl/timespec_get.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libglibc-compatibility/musl/timespec_get.c b/libs/libglibc-compatibility/musl/timespec_get.c index 03c5a77b7b0..4a01a49e0a8 100644 --- a/libs/libglibc-compatibility/musl/timespec_get.c +++ b/libs/libglibc-compatibility/musl/timespec_get.c @@ -1,12 +1,12 @@ #include -int __clock_gettime(clockid_t, struct timespec *); +int clock_gettime(clockid_t, struct timespec *); /* There is no other implemented value than TIME_UTC; all other values * are considered erroneous. */ int timespec_get(struct timespec * ts, int base) { if (base != TIME_UTC) return 0; - int ret = __clock_gettime(CLOCK_REALTIME, ts); + int ret = clock_gettime(CLOCK_REALTIME, ts); return ret < 0 ? 0 : base; }