diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-02-05 09:51:09 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-02-05 09:51:09 -0500 |
commit | 2cae9f59da6106b4545da85b33d1e206a1e4c1e7 (patch) | |
tree | 1c49b9acf90657f0df5bd11b38eed3b28b3df7a4 /src/internal | |
parent | 11020620813b828917bc31b4636d8a142f7a564a (diff) | |
download | musl-2cae9f59da6106b4545da85b33d1e206a1e4c1e7.tar.gz musl-2cae9f59da6106b4545da85b33d1e206a1e4c1e7.tar.xz musl-2cae9f59da6106b4545da85b33d1e206a1e4c1e7.zip |
remove further legacy time32 clock syscalls from public syscall.h
this extends commit 5a105f19b5aae79dd302899e634b6b18b3dcd0d6, removing clock_settime, clock_getres, clock_nanosleep, and settimeofday.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/syscall.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 |