summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getrlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getrlimit.c')
-rw-r--r--libc/sysdeps/linux/common/getrlimit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/getrlimit.c b/libc/sysdeps/linux/common/getrlimit.c
index ecb09d1e2..ec62b2e45 100644
--- a/libc/sysdeps/linux/common/getrlimit.c
+++ b/libc/sysdeps/linux/common/getrlimit.c
@@ -23,7 +23,7 @@ libc_hidden_proto(getrlimit)
# define __NR___syscall_ugetrlimit __NR_ugetrlimit
static inline
_syscall2(int, __syscall_ugetrlimit, enum __rlimit_resource, resource,
- struct rlimit *, rlim);
+ struct rlimit *, rlim)
int getrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)
{
return (__syscall_ugetrlimit(resource, rlimits));
@@ -33,14 +33,14 @@ int getrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)
/* We don't need to wrap getrlimit() */
_syscall2(int, getrlimit, __rlimit_resource_t, resource,
- struct rlimit *, rlim);
+ struct rlimit *, rlim)
#else
/* we have to handle old style getrlimit() */
# define __NR___syscall_getrlimit __NR_getrlimit
static inline
-_syscall2(int, __syscall_getrlimit, int, resource, struct rlimit *, rlim);
+_syscall2(int, __syscall_getrlimit, int, resource, struct rlimit *, rlim)
int getrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)
{