mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 07:10:05 +00:00
15 lines
398 B
C
15 lines
398 B
C
#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"
|