aboutsummaryrefslogtreecommitdiff
path: root/nptl_db/td_thr_dbresume.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-09 02:03:28 +0000
committerRoland McGrath <roland@gnu.org>2002-12-09 02:03:28 +0000
commit531da978ceb31fdb28c5f0fdd9604004b765d9b1 (patch)
treea64ad93831fec1bac0385d29911676ff23bdefcc /nptl_db/td_thr_dbresume.c
parenta5d1e89bde3696e7891b3298fd806cd52a164653 (diff)
downloadglibc-531da978ceb31fdb28c5f0fdd9604004b765d9b1.tar
glibc-531da978ceb31fdb28c5f0fdd9604004b765d9b1.tar.gz
glibc-531da978ceb31fdb28c5f0fdd9604004b765d9b1.tar.bz2
glibc-531da978ceb31fdb28c5f0fdd9604004b765d9b1.zip
* 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 'nptl_db/td_thr_dbresume.c')
0 files changed, 0 insertions, 0 deletions