From 005d20f04dff3665c9533417bdad06d7d208bf9a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 4 Nov 2005 22:52:26 +0000 Subject: Sync up w/ glibc --- include/string.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/string.h') 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 -- cgit v1.2.3