From 916229f02ca6464435146fc86f9cb57b0ac47d8e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 16 Mar 2011 23:50:43 +0100 Subject: __xpg_strerror_r.c, {ge,se}trlimit.c: use strong_alias_untyped Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/setrlimit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/common/setrlimit.c') diff --git a/libc/sysdeps/linux/common/setrlimit.c b/libc/sysdeps/linux/common/setrlimit.c index ed773f7ae..6817a9c92 100644 --- a/libc/sysdeps/linux/common/setrlimit.c +++ b/libc/sysdeps/linux/common/setrlimit.c @@ -7,12 +7,9 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -#define setrlimit64 __hide_setrlimit64 #include #include #include -#undef setrlimit64 - /* Only wrap setrlimit if the new usetrlimit is not present and setrlimit sucks */ @@ -65,5 +62,5 @@ int setrlimit(__rlimit_resource_t resource, const struct rlimit *rlimits) libc_hidden_def(setrlimit) #if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64 -strong_alias(setrlimit, setrlimit64) +strong_alias_untyped(setrlimit, setrlimit64) #endif -- cgit v1.2.3