diff options
Diffstat (limited to 'libc/sysdeps/linux/common/setrlimit.c')
-rw-r--r-- | libc/sysdeps/linux/common/setrlimit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/setrlimit.c b/libc/sysdeps/linux/common/setrlimit.c index ce9fe2275..9a344a121 100644 --- a/libc/sysdeps/linux/common/setrlimit.c +++ b/libc/sysdeps/linux/common/setrlimit.c @@ -23,7 +23,7 @@ libc_hidden_proto(setrlimit) # define __NR___syscall_usetrlimit __NR_usetrlimit static inline _syscall2(int, __syscall_usetrlimit, enum __rlimit_resource, resource, - const struct rlimit *, rlim); + const struct rlimit *, rlim) int setrlimit(__rlimit_resource_t resource, struct rlimit *rlimits) { return (__syscall_usetrlimit(resource, rlimits)); @@ -33,14 +33,14 @@ int setrlimit(__rlimit_resource_t resource, struct rlimit *rlimits) /* We don't need to wrap setrlimit() */ _syscall2(int, setrlimit, __rlimit_resource_t, resource, - const struct rlimit *, rlim); + const struct rlimit *, rlim) #else /* we have to handle old style setrlimit() */ # define __NR___syscall_setrlimit __NR_setrlimit static inline -_syscall2(int, __syscall_setrlimit, int, resource, const struct rlimit *, rlim); +_syscall2(int, __syscall_setrlimit, int, resource, const struct rlimit *, rlim) int setrlimit(__rlimit_resource_t resource, const struct rlimit *rlimits) { |