summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
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
parentef25eef9a18839cfd26eb5810296c62e4165b631 (diff)
fix my always_inline typo to fix building on most arches
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/getrlimit.c2
-rw-r--r--libc/sysdeps/linux/common/setrlimit.c2
2 files changed, 2 insertions, 2 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)
diff --git a/libc/sysdeps/linux/common/setrlimit.c b/libc/sysdeps/linux/common/setrlimit.c
index 58cfd469f..ba2ea0728 100644
--- a/libc/sysdeps/linux/common/setrlimit.c
+++ b/libc/sysdeps/linux/common/setrlimit.c
@@ -21,7 +21,7 @@ libc_hidden_proto(setrlimit)
/* just call usetrlimit() */
# define __NR___syscall_usetrlimit __NR_usetrlimit
-static always_inline
+static inline
_syscall2(int, __syscall_usetrlimit, enum __rlimit_resource, resource,
const struct rlimit *, rlim);
int setrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)