summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/ntp_gettime.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 05:52:53 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 05:52:53 +0000
commit6622bc38bc3ed737fbd41e1c620a2dc27f1376f7 (patch)
treee6840901bfa803cedc77079cd55edae380068d94 /libc/sysdeps/linux/common/ntp_gettime.c
parentcb6a88484ce0b5ffba2fe98a40e2d51f4af92eb8 (diff)
downloaduClibc-alpine-6622bc38bc3ed737fbd41e1c620a2dc27f1376f7.tar.bz2
uClibc-alpine-6622bc38bc3ed737fbd41e1c620a2dc27f1376f7.tar.xz
More merging from trunk.
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;