From e3f8e049106efc5090485621bc57727c5f784847 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 9 Oct 2007 03:56:53 +0000 Subject: [PATCH] * 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. --- ChangeLog | 7 +++++++ sysdeps/unix/sysv/linux/eventfd_read.c | 2 +- sysdeps/unix/sysv/linux/eventfd_write.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4ccedaccb..4c774652b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-10-08 Ulrich Drepper + + * 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. + 2007-10-07 Ulrich Drepper [BZ #181] 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; }