summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getrlimit.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-11 04:08:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-11 04:08:23 +0000
commite8f50b1894e5566b79a3e6c0c998476b697a8584 (patch)
tree32fb93d6be8cbdd54b7880222db503e3da9f503a /libc/sysdeps/linux/common/getrlimit.c
parentef25eef9a18839cfd26eb5810296c62e4165b631 (diff)
fix my always_inline typo to fix building on most arches
Diffstat (limited to 'libc/sysdeps/linux/common/getrlimit.c')
-rw-r--r--libc/sysdeps/linux/common/getrlimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getrlimit.c b/libc/sysdeps/linux/common/getrlimit.c
index dfaedb3e5..2a4d05318 100644
--- a/libc/sysdeps/linux/common/getrlimit.c
+++ b/libc/sysdeps/linux/common/getrlimit.c
@@ -21,7 +21,7 @@ libc_hidden_proto(getrlimit)
/* just call ugetrlimit() */
# define __NR___syscall_ugetrlimit __NR_ugetrlimit
-static always_inline
+static inline
_syscall2(int, __syscall_ugetrlimit, enum __rlimit_resource, resource,
struct rlimit *, rlim);
int getrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)