summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/ntp_gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/ntp_gettime.c')
-rw-r--r--sysdeps/unix/sysv/linux/ntp_gettime.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/ntp_gettime.c b/sysdeps/unix/sysv/linux/ntp_gettime.c
index 2bcabbc63f..f78f1682fa 100644
--- a/sysdeps/unix/sysv/linux/ntp_gettime.c
+++ b/sysdeps/unix/sysv/linux/ntp_gettime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,6 +22,10 @@
# define modes mode
#endif
+
+extern int INTUSE(__adjtimex) (struct timex *__ntx);
+
+
int
ntp_gettime (ntv)
struct ntptimeval *ntv;
@@ -30,7 +34,7 @@ ntp_gettime (ntv)
int result;
tntx.modes = 0;
- result = __adjtimex (&tntx);
+ result = INTUSE(__adjtimex) (&tntx);
ntv->time = tntx.time;
ntv->maxerror = tntx.maxerror;
ntv->esterror = tntx.esterror;