* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-/* Make sure we get proper strerror_r() prototype */
-#define strerror_r _hidestrerror_r
-
#include <features.h>
#include <errno.h>
#include <string.h>
#include "_syserrmsg.h"
-#undef strerror_r
-
-
#ifdef __UCLIBC_HAS_ERRNO_MESSAGES__
extern const char _string_syserrmsgs[] attribute_hidden;
#endif /* __UCLIBC_HAS_ERRNO_MESSAGES__ */
libc_hidden_def(__xpg_strerror_r)
-weak_alias(__xpg_strerror_r, strerror_r)
+strong_alias_untyped(__xpg_strerror_r, strerror_r)
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#define getrlimit64 __hide_getrlimit64
#include <sys/syscall.h>
#include <unistd.h>
#include <sys/resource.h>
-#undef getrlimit64
-
/* Only wrap getrlimit if the new ugetrlimit is not present and getrlimit sucks */
libc_hidden_def(getrlimit)
#if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64
-strong_alias(getrlimit, getrlimit64)
+strong_alias_untyped(getrlimit, getrlimit64)
#endif
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#define setrlimit64 __hide_setrlimit64
#include <sys/syscall.h>
#include <unistd.h>
#include <sys/resource.h>
-#undef setrlimit64
-
/* Only wrap setrlimit if the new usetrlimit is not present and setrlimit sucks */
libc_hidden_def(setrlimit)
#if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64
-strong_alias(setrlimit, setrlimit64)
+strong_alias_untyped(setrlimit, setrlimit64)
#endif