aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-09 03:56:53 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-09 03:56:53 +0000
commite3f8e049106efc5090485621bc57727c5f784847 (patch)
tree4f7c66b380a8f4afd50e9ad2433af125e7139991 /sysdeps
parent64ba41bcc699bd6b11ce4cefc3c65349da6f43db (diff)
downloadglibc-e3f8e049106efc5090485621bc57727c5f784847.tar
glibc-e3f8e049106efc5090485621bc57727c5f784847.tar.gz
glibc-e3f8e049106efc5090485621bc57727c5f784847.tar.bz2
glibc-e3f8e049106efc5090485621bc57727c5f784847.zip
* sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
__read not read. * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use __write not write.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/eventfd_read.c2
-rw-r--r--sysdeps/unix/sysv/linux/eventfd_write.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/eventfd_read.c b/sysdeps/unix/sysv/linux/eventfd_read.c
index 1113f11478..3b1059a0ab 100644
--- a/sysdeps/unix/sysv/linux/eventfd_read.c
+++ b/sysdeps/unix/sysv/linux/eventfd_read.c
@@ -24,5 +24,5 @@
int
eventfd_read (int fd, eventfd_t *value)
{
- return read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
+ return __read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}
diff --git a/sysdeps/unix/sysv/linux/eventfd_write.c b/sysdeps/unix/sysv/linux/eventfd_write.c
index 4bcf95daee..4b15990c3f 100644
--- a/sysdeps/unix/sysv/linux/eventfd_write.c
+++ b/sysdeps/unix/sysv/linux/eventfd_write.c
@@ -24,5 +24,6 @@
int
eventfd_write (int fd, eventfd_t value)
{
- return write (fd, &value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
+ return __write (fd, &value,
+ sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}