diff options
author | Roland McGrath <roland@gnu.org> | 2002-11-24 23:56:47 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-11-24 23:56:47 +0000 |
commit | bf2cc5fb028fecf8d6b1adffd952f7402f685923 (patch) | |
tree | 52589daf3f86896ace602af8803d9b92593ca9d4 /sysdeps/generic | |
parent | 13a571a7470a1830736e6a1b1cd46b1553db041c (diff) | |
download | glibc-bf2cc5fb028fecf8d6b1adffd952f7402f685923.tar.gz glibc-bf2cc5fb028fecf8d6b1adffd952f7402f685923.tar.xz glibc-bf2cc5fb028fecf8d6b1adffd952f7402f685923.zip |
* sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
* sysdeps/posix/writev.c: Likewise. From Momchil Velikov <velco@fadata.bg>. * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of calling *GL(dl_error_catch_tsd) for a thread-local location. * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT]. (dl_main): Same for GL(dl_error_catch_tsd) initialization. * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT]. * libio/iofflush.c: Add libc_hidden_def. * libio/iofwrite.c: Likewise. * sysdeps/generic/sigtimedwait.c: Likewise. * sysdeps/generic/sigwaitinfo.c: Likewise. * sysdeps/posix/sigwait.c: Likewise. Reported by Momchil Velikov <velco@fadata.bg>. * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t to match <arpa/inet.h> declaration. * inet/inet_netof.c (inet_netof): Likewise. * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types. Reported by Momchil Velikov <velco@fadata.bg>.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/sigtimedwait.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/sigwaitinfo.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/sigtimedwait.c b/sysdeps/generic/sigtimedwait.c index eaf05beae4..7b114a3133 100644 --- a/sysdeps/generic/sigtimedwait.c +++ b/sysdeps/generic/sigtimedwait.c @@ -1,5 +1,5 @@ /* Implementation of sigtimedwait function from POSIX.1b. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 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 @@ -27,6 +27,7 @@ __sigtimedwait (const sigset_t *set, siginfo_t *info, __set_errno (ENOSYS); return -1; } +libc_hidden_def (__sigtimedwait) weak_alias (__sigtimedwait, sigtimedwait) stub_warning (sigtimedwait) diff --git a/sysdeps/generic/sigwaitinfo.c b/sysdeps/generic/sigwaitinfo.c index ad24efe29b..e0659b0243 100644 --- a/sysdeps/generic/sigwaitinfo.c +++ b/sysdeps/generic/sigwaitinfo.c @@ -26,6 +26,7 @@ __sigwaitinfo (const sigset_t *set, siginfo_t *info) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__sigwaitinfo) weak_alias (__sigwaitinfo, sigwaitinfo) stub_warning (sigwaitinfo) |