From 2cae9f59da6106b4545da85b33d1e206a1e4c1e7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 5 Feb 2020 09:51:09 -0500 Subject: remove further legacy time32 clock syscalls from public syscall.h this extends commit 5a105f19b5aae79dd302899e634b6b18b3dcd0d6, removing clock_settime, clock_getres, clock_nanosleep, and settimeofday. --- src/internal/syscall.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/internal/syscall.h') diff --git a/src/internal/syscall.h b/src/internal/syscall.h index 0b61f34e..adf602ae 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -193,14 +193,30 @@ hidden long __syscall_ret(unsigned long), #define SYS_sendfile SYS_sendfile64 #endif +#ifndef SYS_clock_settime +#define SYS_clock_settime SYS_clock_settime32 +#endif + #ifndef SYS_clock_gettime #define SYS_clock_gettime SYS_clock_gettime32 #endif +#ifndef SYS_clock_getres +#define SYS_clock_getres SYS_clock_getres_time32 +#endif + +#ifndef SYS_clock_nanosleep +#define SYS_clock_nanosleep SYS_clock_nanosleep_time32 +#endif + #ifndef SYS_gettimeofday #define SYS_gettimeofday SYS_gettimeofday_time32 #endif +#ifndef SYS_settimeofday +#define SYS_settimeofday SYS_settimeofday_time32 +#endif + /* Ensure that the plain syscall names are defined even for "time64-only" * archs. These facilitate callers passing null time arguments, and make * tests for establishing which to use/fallback-to more consistent when -- cgit v1.2.1