about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
blob: 7802701e228569d8f2066608daf615d97093da78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "bits/libc-vdso.h"

#ifdef SHARED
# define SYSCALL_GETTIME(id, tp) \
  ({ long int (*f) (clockid_t, struct timespec *) = __vdso_clock_gettime; \
  PTR_DEMANGLE (f);							  \
  f (id, tp); })
# define INTERNAL_GETTIME(id, tp) \
  ({ long int (*f) (clockid_t, struct timespec *) = __vdso_clock_gettime; \
  PTR_DEMANGLE (f);							  \
  f (id, tp); })
#endif

#include "../clock_gettime.c"