mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Bobby Bingham <koorogi@koorogi.info>
To: musl@lists.openwall.com
Subject: [PATCH 1/3] x32: remove unnecessary undefs of syscall numbers
Date: Wed, 11 May 2016 23:53:27 -0500	[thread overview]
Message-ID: <1463028809-9763-1-git-send-email-koorogi@koorogi.info> (raw)

---
 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



             reply	other threads:[~2016-05-12  4:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12  4:53 Bobby Bingham [this message]
2016-05-12  4:53 ` [PATCH 2/3] x32: eliminate __X32_SYSCALL_BIT constant Bobby Bingham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1463028809-9763-1-git-send-email-koorogi@koorogi.info \
    --to=koorogi@koorogi.info \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).