mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-06 01:41:15 -05:00
Fix syscall_clock implementation
This commit is contained in:
parent
b75d781df8
commit
cd6b4fb45d
|
|
@ -5,7 +5,7 @@ void(*__wut_exit)(int rc);
|
|||
extern void __fini_wut(void);
|
||||
|
||||
int __syscall_lock_init(int *lock, int recursive) {
|
||||
return __wut_lock_init(lock,recursive);
|
||||
return __wut_lock_init(lock, recursive);
|
||||
}
|
||||
|
||||
int __syscall_lock_close(int *lock) {
|
||||
|
|
@ -25,14 +25,25 @@ void __syscall_exit(int rc) {
|
|||
__wut_exit(rc);
|
||||
}
|
||||
|
||||
int __syscall_gettod_r(struct _reent *ptr, struct timeval *tp, struct timezone *tz){
|
||||
return __wut_gettod_r(ptr,tp,tz);
|
||||
int __syscall_gettod_r(struct _reent *ptr, struct timeval *tp, struct timezone *tz) {
|
||||
return __wut_gettod_r(ptr, tp, tz);
|
||||
}
|
||||
|
||||
int __syscall_nanosleep(const struct timespec *req, struct timespec *rem){
|
||||
int __syscall_nanosleep(const struct timespec *req, struct timespec *rem) {
|
||||
return __wut_nanosleep(req, rem);
|
||||
}
|
||||
|
||||
int __syscall_clock_gettime(clockid_t clock_id, struct timespec *tp) {
|
||||
return __wut_clock_gettime(clock_id, tp);
|
||||
}
|
||||
|
||||
int __syscall_clock_settime(clockid_t clock_id, const struct timespec *tp) {
|
||||
return __wut_clock_settime(clock_id, tp);
|
||||
}
|
||||
|
||||
int __syscall_clock_getres(clockid_t clock_id, struct timespec *res) {
|
||||
return __wut_clock_getres(clock_id, res);
|
||||
}
|
||||
|
||||
void
|
||||
__init_wut_newlib()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user