diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/allocalim.h | 4 | ||||
-rw-r--r-- | sysdeps/generic/readv.c | 7 | ||||
-rw-r--r-- | sysdeps/generic/waitid.c | 5 | ||||
-rw-r--r-- | sysdeps/generic/writev.c | 7 |
4 files changed, 15 insertions, 8 deletions
diff --git a/sysdeps/generic/allocalim.h b/sysdeps/generic/allocalim.h new file mode 100644 index 0000000000..2491129a7d --- /dev/null +++ b/sysdeps/generic/allocalim.h @@ -0,0 +1,4 @@ +extern inline int __libc_use_alloca (size_t size) +{ + return size <= __MAX_ALLOCA_CUTOFF; +} diff --git a/sysdeps/generic/readv.c b/sysdeps/generic/readv.c index 82f86965de..b33444c036 100644 --- a/sysdeps/generic/readv.c +++ b/sysdeps/generic/readv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1996,1997,1998,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 @@ -26,7 +26,7 @@ Operates just like `read' (see <unistd.h>) except that data are put in VECTOR instead of a contiguous buffer. */ ssize_t -__readv (fd, vector, count) +__libc_readv (fd, vector, count) int fd; const struct iovec *vector; int count; @@ -34,7 +34,8 @@ __readv (fd, vector, count) __set_errno (ENOSYS); return -1; } -weak_alias (__readv, readv) +strong_alias (__libc_readv, __readv) +weak_alias (__libc_readv, readv) stub_warning (readv) #include <stub-tag.h> diff --git a/sysdeps/generic/waitid.c b/sysdeps/generic/waitid.c index 9e2a3da9ad..a9de1a19a5 100644 --- a/sysdeps/generic/waitid.c +++ b/sysdeps/generic/waitid.c @@ -1,5 +1,5 @@ /* Stub version of waitid. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -23,7 +23,7 @@ #include <sys/wait.h> int -waitid (idtype, id, infop, options) +__waitid (idtype, id, infop, options) idtype_t idtype; id_t id; siginfo_t *infop; @@ -32,3 +32,4 @@ waitid (idtype, id, infop, options) __set_errno (ENOSYS); return -1; } +weak_alias (__waitid, waitid) diff --git a/sysdeps/generic/writev.c b/sysdeps/generic/writev.c index 3bfc0be877..d424c72143 100644 --- a/sysdeps/generic/writev.c +++ b/sysdeps/generic/writev.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1996,1997,1998,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 @@ -26,7 +26,7 @@ Operates just like `write' (see <unistd.h>) except that the data are taken from VECTOR instead of a contiguous buffer. */ ssize_t -__writev (fd, vector, count) +__libc_writev (fd, vector, count) int fd; const struct iovec *vector; int count; @@ -34,7 +34,8 @@ __writev (fd, vector, count) __set_errno (ENOSYS); return -1; } -weak_alias (__writev, writev) +strong_alias (__libc_writev, __writev) +weak_alias (__libc_writev, writev) stub_warning (writev) #include <stub-tag.h> |