summaryrefslogtreecommitdiff
path: root/sysdeps/unix/clock_settime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/clock_settime.c')
-rw-r--r--sysdeps/unix/clock_settime.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/unix/clock_settime.c b/sysdeps/unix/clock_settime.c
index a3fd267e9d..38813eddf7 100644
--- a/sysdeps/unix/clock_settime.c
+++ b/sysdeps/unix/clock_settime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2018 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
@@ -18,7 +18,6 @@
#include <errno.h>
#include <time.h>
#include <sys/time.h>
-#include <libc-internal.h>
#include <ldsodefs.h>
@@ -90,7 +89,7 @@ __clock_settime (clockid_t clock_id, const struct timespec *tp)
struct timeval tv; \
TIMESPEC_TO_TIMEVAL (&tv, tp); \
\
- retval = settimeofday (&tv, NULL); \
+ retval = __settimeofday (&tv, NULL); \
} while (0)
#ifdef SYSDEP_SETTIME