diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2018-01-02 21:05:29 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2018-01-02 21:05:29 +0100 |
commit | 3e4226ffdf20a7d060cd43dd0fad2829cef43755 (patch) | |
tree | fde885d1f37424f13a839b65e2f8a7b1cee8b184 /sysdeps | |
parent | d35989be876fea4e0932da64a1874c29136ef1aa (diff) | |
download | glibc-3e4226ffdf20a7d060cd43dd0fad2829cef43755.tar glibc-3e4226ffdf20a7d060cd43dd0fad2829cef43755.tar.gz glibc-3e4226ffdf20a7d060cd43dd0fad2829cef43755.tar.bz2 glibc-3e4226ffdf20a7d060cd43dd0fad2829cef43755.zip |
Simplify getrlimit64.c
Changelog:
* sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
never defined in that case.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/getrlimit64.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/getrlimit64.c b/sysdeps/unix/sysv/linux/getrlimit64.c index 3dcab58711..3750cf22fa 100644 --- a/sysdeps/unix/sysv/linux/getrlimit64.c +++ b/sysdeps/unix/sysv/linux/getrlimit64.c @@ -60,11 +60,7 @@ int attribute_compat_text_section __old_getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits) { -# if __RLIM_T_MATCHES_RLIM64_T -# define rlimits32 (*rlimits) -# else struct rlimit rlimits32; -# endif if (__new_getrlimit (resource, &rlimits32) < 0) return -1; |