mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH 1/3] x32: remove unnecessary undefs of syscall numbers
@ 2016-05-12  4:53 Bobby Bingham
  2016-05-12  4:53 ` [PATCH 2/3] x32: eliminate __X32_SYSCALL_BIT constant Bobby Bingham
  0 siblings, 1 reply; 2+ messages in thread
From: Bobby Bingham @ 2016-05-12  4:53 UTC (permalink / raw)
  To: musl

---
 arch/x32/bits/syscall.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/arch/x32/bits/syscall.h b/arch/x32/bits/syscall.h
index bd5ab3b..c7c15ab 100644
--- a/arch/x32/bits/syscall.h
+++ b/arch/x32/bits/syscall.h
@@ -66,7 +66,6 @@
 #define __NR_fdatasync (__X32_SYSCALL_BIT + 75)
 #define __NR_truncate (__X32_SYSCALL_BIT + 76)
 #define __NR_ftruncate (__X32_SYSCALL_BIT + 77)
-#define __NR_getdents (__X32_SYSCALL_BIT + 78)
 #define __NR_getcwd (__X32_SYSCALL_BIT + 79)
 #define __NR_chdir (__X32_SYSCALL_BIT + 80)
 #define __NR_fchdir (__X32_SYSCALL_BIT + 81)
@@ -317,10 +316,6 @@
 #define __NR_io_submit (__X32_SYSCALL_BIT + 544)
 #define __NR_execveat (__X32_SYSCALL_BIT + 545)
 
-#undef __NR_fstatat
-#undef __NR_pread
-#undef __NR_pwrite
-#undef __NR_getdents
 #define __NR_fstatat __NR_newfstatat
 #define __NR_pread __NR_pread64
 #define __NR_pwrite __NR_pwrite64
@@ -400,7 +395,6 @@
 #define SYS_fdatasync __NR_fdatasync
 #define SYS_truncate __NR_truncate
 #define SYS_ftruncate __NR_ftruncate
-#define SYS_getdents __NR_getdents
 #define SYS_getcwd __NR_getcwd
 #define SYS_chdir __NR_chdir
 #define SYS_fchdir __NR_fchdir
@@ -652,10 +646,6 @@
 #define SYS_io_submit __NR_io_submit
 #define SYS_execveat __NR_execveat
 
-#undef SYS_fstatat
-#undef SYS_pread
-#undef SYS_pwrite
-#undef SYS_getdents
 #define SYS_fstatat SYS_newfstatat
 #define SYS_pread SYS_pread64
 #define SYS_pwrite SYS_pwrite64
-- 
2.8.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-12  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12  4:53 [PATCH 1/3] x32: remove unnecessary undefs of syscall numbers Bobby Bingham
2016-05-12  4:53 ` [PATCH 2/3] x32: eliminate __X32_SYSCALL_BIT constant Bobby Bingham

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).