From: Ulrich Drepper Date: Mon, 15 Apr 2002 05:30:10 +0000 (+0000) Subject: Use INTDEF for __write. X-Git-Tag: upstream/2.20~3636^2~1696 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d337e61ff171cbc91a88ddc3ba6a360ffb66e37;p=platform%2Fupstream%2Flinaro-glibc.git Use INTDEF for __write. --- diff --git a/sysdeps/unix/sysv/aix/write.c b/sysdeps/unix/sysv/aix/write.c index 727ec82..5a1ac10 100644 --- a/sysdeps/unix/sysv/aix/write.c +++ b/sysdeps/unix/sysv/aix/write.c @@ -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 , 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)