Use INTDEF for __write.
This commit is contained in:
parent
548fe33d15
commit
9d337e61ff
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user