summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/ntp_gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/ntp_gettime.c')
-rw-r--r--libc/sysdeps/linux/common/ntp_gettime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/ntp_gettime.c b/libc/sysdeps/linux/common/ntp_gettime.c
index 0c4d1549f..f32e05444 100644
--- a/libc/sysdeps/linux/common/ntp_gettime.c
+++ b/libc/sysdeps/linux/common/ntp_gettime.c
@@ -16,17 +16,17 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define adjtimex __adjtimex
-
#include <sys/timex.h>
+libc_hidden_proto(adjtimex)
+
int ntp_gettime(struct ntptimeval *ntv)
{
struct timex tntx;
int result;
tntx.modes = 0;
- result = __adjtimex(&tntx);
+ result = adjtimex(&tntx);
ntv->time = tntx.time;
ntv->maxerror = tntx.maxerror;
ntv->esterror = tntx.esterror;