diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/tile/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h b/sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h index cc720f1db6..44f828630f 100644 --- a/sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h +++ b/sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h @@ -22,10 +22,18 @@ #ifdef SHARED -extern long int (*__vdso_gettimeofday) (struct timeval *, void *) +struct syscall_return_value +{ + long int value; + long int error; +}; + +extern struct syscall_return_value (*__vdso_gettimeofday) (struct timeval *, + void *) attribute_hidden; -extern long int (*__vdso_clock_gettime) (clockid_t, struct timespec *); +extern struct syscall_return_value (*__vdso_clock_gettime) (clockid_t, + struct timespec *); #endif |