mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Remove dollars from system call support symbols
This commit is contained in:
parent
a8d7195777
commit
a37960a3af
743 changed files with 1380 additions and 2016 deletions
|
@ -23,8 +23,8 @@
|
|||
#include "libc/sysv/errfuns.h"
|
||||
#include "libc/time/time.h"
|
||||
|
||||
int utimensat$xnu(int dirfd, const char *path, const struct timespec ts[2],
|
||||
int flags) {
|
||||
int sys_utimensat_xnu(int dirfd, const char *path, const struct timespec ts[2],
|
||||
int flags) {
|
||||
int i;
|
||||
struct timeval now, tv[2];
|
||||
if (flags) return einval();
|
||||
|
@ -48,13 +48,13 @@ int utimensat$xnu(int dirfd, const char *path, const struct timespec ts[2],
|
|||
}
|
||||
if (path) {
|
||||
if (dirfd == AT_FDCWD) {
|
||||
return utimes$sysv(path, tv);
|
||||
return sys_utimes(path, tv);
|
||||
} else {
|
||||
return enosys();
|
||||
}
|
||||
} else {
|
||||
if (dirfd != AT_FDCWD) {
|
||||
return futimes$sysv(dirfd, tv);
|
||||
return sys_futimes(dirfd, tv);
|
||||
} else {
|
||||
return einval();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue