diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-09 02:03:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-09 02:03:15 +0000 |
commit | a5d1e89bde3696e7891b3298fd806cd52a164653 (patch) | |
tree | 98619d1d0ec8c505718818a2e80acbd85163d921 /time | |
parent | f92921c5cf160e755c29ecef28430c8503f0472d (diff) | |
download | glibc-a5d1e89bde3696e7891b3298fd806cd52a164653.tar.gz glibc-a5d1e89bde3696e7891b3298fd806cd52a164653.tar.xz glibc-a5d1e89bde3696e7891b3298fd806cd52a164653.zip |
2001-10-20 Paul Eggert <eggert@twinsun.com>
* misc/error.c (strerror_r): Do not declare unless [!_LIBC]. Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. Use strerror_r that is only a macro, even if it is not a function. (strerror): Check for HAVE_DECL_STRERROR before declaring. (private_strerror): Use prototypes, not old-style function definition. (print_errno_message): New function. Support the POSIX 'int'-flavored strerror_r, as well as the traditional char*-flavored one. (error_tail, error, error_at_line): Use it.
Diffstat (limited to 'time')
0 files changed, 0 insertions, 0 deletions