diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-20 20:19:59 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-20 20:19:59 +0200 |
commit | 9a65c3d85f29c6545f0254b9705208ab08d3b3dd (patch) | |
tree | 330f04db886c420e224c3500669272dd8ceb8af4 /sysdeps/unix/sysv/linux/clock_getres.c | |
parent | 04e1830bc8feae344f9a230b53056e1603d890a2 (diff) | |
parent | f76453c31593957fec1a99b986bfa5506618b79c (diff) |
Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixes
Diffstat (limited to 'sysdeps/unix/sysv/linux/clock_getres.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/clock_getres.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/clock_getres.c b/sysdeps/unix/sysv/linux/clock_getres.c index e822b94d87..5641967f67 100644 --- a/sysdeps/unix/sysv/linux/clock_getres.c +++ b/sysdeps/unix/sysv/linux/clock_getres.c @@ -1,5 +1,5 @@ /* clock_getres -- Get the resolution of a POSIX clockid_t. Linux version. - Copyright (C) 2003-2014 Free Software Foundation, Inc. + Copyright (C) 2003-2015 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 @@ -20,16 +20,11 @@ #include <errno.h> #include <time.h> #include "kernel-posix-cpu-timers.h" -#include <kernel-features.h> - -#ifndef HAVE_CLOCK_GETRES_VSYSCALL -# undef INTERNAL_VSYSCALL -# define INTERNAL_VSYSCALL INTERNAL_SYSCALL -# undef INLINE_VSYSCALL -# define INLINE_VSYSCALL INLINE_SYSCALL -#else -# include <bits/libc-vdso.h> + +#ifdef HAVE_CLOCK_GETRES_VSYSCALL +# define HAVE_VSYSCALL #endif +#include <sysdep-vdso.h> #define SYSCALL_GETRES \ retval = INLINE_VSYSCALL (clock_getres, 2, clock_id, res); \ |