diff options
Diffstat (limited to 'sysdeps/mach/hurd/write.c')
-rw-r--r-- | sysdeps/mach/hurd/write.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/write.c b/sysdeps/mach/hurd/write.c index 5d6ce81436..514e460930 100644 --- a/sysdeps/mach/hurd/write.c +++ b/sysdeps/mach/hurd/write.c @@ -20,9 +20,6 @@ #include <unistd.h> #include <hurd/fd.h> -#undef __libc_write -#undef __write - ssize_t __libc_write (int fd, const void *buf, size_t nbytes) { @@ -30,7 +27,7 @@ __libc_write (int fd, const void *buf, size_t nbytes) buf, &nbytes, -1)); return err ? __hurd_dfail (fd, err) : nbytes; } - +libc_hidden_def (__libc_write) weak_alias (__libc_write, __write) -INTDEF(__write) +libc_hidden_weak (__write) weak_alias (__libc_write, write) |