summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/pread_write.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-15 14:06:44 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-15 14:06:44 +0000
commit80b0b55af2faa2e314d61d2f17fc24c9cfa94a34 (patch)
tree9944b254b1e5c829f1b7b099b129e563f19eae23 /libc/sysdeps/linux/common/pread_write.c
parent4d3c7f75e644c67e3110fa7ded9eb6af696f8ef2 (diff)
Cleanup a few structural wierdnesses
Diffstat (limited to 'libc/sysdeps/linux/common/pread_write.c')
-rw-r--r--libc/sysdeps/linux/common/pread_write.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/pread_write.c b/libc/sysdeps/linux/common/pread_write.c
index 98a059416..7955916fe 100644
--- a/libc/sysdeps/linux/common/pread_write.c
+++ b/libc/sysdeps/linux/common/pread_write.c
@@ -45,8 +45,6 @@
static inline _syscall5(ssize_t, __syscall_pread, int, fd, void *, buf,
size_t, count, off_t, offset_hi, off_t, offset_lo);
-#define __NR___libc_pread __NR_pread
-
ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset)
{
return(__syscall_pread(fd,buf,count,__LONG_LONG_PAIR((off_t)0,offset)));
@@ -66,7 +64,6 @@ weak_alias (__libc_pread64, pread64)
#ifdef __NR_pwrite
-#define __NR___libc_pwrite __NR_pwrite
#define __NR___syscall_pwrite __NR_pwrite
static inline _syscall5(ssize_t, __syscall_pwrite, int, fd, const void *, buf,