diff options
Diffstat (limited to 'tools/include/nolibc/sched.h')
| -rw-r--r-- | tools/include/nolibc/sched.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/include/nolibc/sched.h b/tools/include/nolibc/sched.h index b1af7fa6672d..7a5f6d9484c8 100644 --- a/tools/include/nolibc/sched.h +++ b/tools/include/nolibc/sched.h @@ -19,7 +19,7 @@ */ static __attribute__((unused)) -int sys_setns(int fd, int nstype) +int _sys_setns(int fd, int nstype) { return __nolibc_syscall2(__NR_setns, fd, nstype); } @@ -27,7 +27,7 @@ int sys_setns(int fd, int nstype) static __attribute__((unused)) int setns(int fd, int nstype) { - return __sysret(sys_setns(fd, nstype)); + return __sysret(_sys_setns(fd, nstype)); } @@ -36,7 +36,7 @@ int setns(int fd, int nstype) */ static __attribute__((unused)) -int sys_unshare(int flags) +int _sys_unshare(int flags) { return __nolibc_syscall1(__NR_unshare, flags); } @@ -44,7 +44,7 @@ int sys_unshare(int flags) static __attribute__((unused)) int unshare(int flags) { - return __sysret(sys_unshare(flags)); + return __sysret(_sys_unshare(flags)); } #endif /* _NOLIBC_SCHED_H */ |
