summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/write.c')
-rw-r--r--sysdeps/mach/hurd/write.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysdeps/mach/hurd/write.c b/sysdeps/mach/hurd/write.c
index e3b4b695f2..7cd715e5a7 100644
--- a/sysdeps/mach/hurd/write.c
+++ b/sysdeps/mach/hurd/write.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 95, 97, 98 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,15 +22,11 @@
#include <hurd/fd.h>
ssize_t
-__write (fd, buf, nbytes)
- int fd;
- const void *buf;
- size_t nbytes;
+__libc_write (int fd, const void *buf, size_t nbytes)
{
error_t err = HURD_FD_USE (fd, _hurd_fd_write (descriptor, buf, &nbytes));
return err ? __hurd_dfail (fd, err) : nbytes;
}
-
-
-weak_alias (__write, write)
+weak_alias (__libc_write, __write)
+weak_alias (__libc_write, write)