diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-04 22:52:26 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-04 22:52:26 +0000 |
commit | 005d20f04dff3665c9533417bdad06d7d208bf9a (patch) | |
tree | bfe0aa8c46149f67794cd45a4fdb259c57b521cf /include/string.h | |
parent | d8059900ddf188607828b12a174b83decade3d61 (diff) |
Sync up w/ glibc
Diffstat (limited to 'include/string.h')
-rw-r--r-- | include/string.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/string.h b/include/string.h index 224bb8621..ea59d94ed 100644 --- a/include/string.h +++ b/include/string.h @@ -280,8 +280,8 @@ extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen) # if defined __USE_XOPEN2K && !defined __USE_GNU /* Fill BUF with a string describing the meaning of the `errno' code in ERRNUM. */ -# ifdef __REDIRECT_NTH -extern int __REDIRECT_NTH (strerror_r, +# ifdef __REDIRECT +extern int __REDIRECT (strerror_r, (int __errnum, char *__buf, size_t __buflen), __xpg_strerror_r) __nonnull ((2)); # else @@ -290,8 +290,8 @@ extern int __REDIRECT_NTH (strerror_r, # else /* If a temporary buffer is required, at most BUFLEN bytes of BUF will be used. */ -# ifdef __REDIRECT_NTH -extern char * __REDIRECT_NTH (strerror_r, +# ifdef __REDIRECT +extern char * __REDIRECT (strerror_r, (int __errnum, char *__buf, size_t __buflen), __glibc_strerror_r) __nonnull ((2)); # else |