Use INTDEF for __write.
authorUlrich Drepper <drepper@redhat.com>
Mon, 15 Apr 2002 05:30:10 +0000 (05:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 15 Apr 2002 05:30:10 +0000 (05:30 +0000)
sysdeps/unix/sysv/aix/write.c

index 727ec82..5a1ac10 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
 
@@ -21,6 +21,8 @@
 
 #include "kernel_proto.h"
 
+#undef __libc_write
+#undef __write
 
 ssize_t
 __write (fd, ptr, n)
@@ -30,6 +32,7 @@ __write (fd, ptr, n)
 {
   return kwrite (fd, ptr, n);
 }
+INTDEF(__write)
 /* AIX has no weak aliases (yet) but let's hope for better times.  */
 weak_alias (__write, write)
 strong_alias (__write, __libc_write)