summaryrefslogtreecommitdiff
path: root/sysdeps/generic/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/write.c')
-rw-r--r--sysdeps/generic/write.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/write.c b/sysdeps/generic/write.c
index 893af76084..200104b5ea 100644
--- a/sysdeps/generic/write.c
+++ b/sysdeps/generic/write.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 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
@@ -21,6 +21,9 @@
#include <unistd.h>
#include <stddef.h>
+#undef __libc_write
+#undef __write
+
/* Write NBYTES of BUF to FD. Return the number written, or -1. */
ssize_t
__libc_write (int fd, const void *buf, size_t nbytes)
@@ -44,5 +47,6 @@ __libc_write (int fd, const void *buf, size_t nbytes)
stub_warning (write)
weak_alias (__libc_write, __write)
+INTDEF(__write)
weak_alias (__libc_write, write)
#include <stub-tag.h>