summaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-05-17 00:34:34 +0000
committerEd Maste <emaste@FreeBSD.org>2017-05-17 00:34:34 +0000
commit3e85b721d653d65a5b6ff655ed1551113f0e0d5b (patch)
tree9f2b92961a0e2680de78b6f1c653a05926cbf817 /sys/kern/kern_resource.c
parent00f6cd3f568295e501deae63e38b34d1137a6eb9 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r--sys/kern/kern_resource.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index 85e8d01cc1be..4cb6f4299600 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -90,7 +90,7 @@ struct getpriority_args {
};
#endif
int
-sys_getpriority(struct thread *td, register struct getpriority_args *uap)
+sys_getpriority(struct thread *td, struct getpriority_args *uap)
{
struct proc *p;
struct pgrp *pg;
@@ -367,7 +367,7 @@ struct rtprio_args {
};
#endif
int
-sys_rtprio(struct thread *td, register struct rtprio_args *uap)
+sys_rtprio(struct thread *td, struct rtprio_args *uap)
{
struct proc *p;
struct thread *tdp;
@@ -533,7 +533,7 @@ struct osetrlimit_args {
};
#endif
int
-osetrlimit(struct thread *td, register struct osetrlimit_args *uap)
+osetrlimit(struct thread *td, struct osetrlimit_args *uap)
{
struct orlimit olim;
struct rlimit lim;
@@ -554,7 +554,7 @@ struct ogetrlimit_args {
};
#endif
int
-ogetrlimit(struct thread *td, register struct ogetrlimit_args *uap)
+ogetrlimit(struct thread *td, struct ogetrlimit_args *uap)
{
struct orlimit olim;
struct rlimit rl;
@@ -587,7 +587,7 @@ struct __setrlimit_args {
};
#endif
int
-sys_setrlimit(struct thread *td, register struct __setrlimit_args *uap)
+sys_setrlimit(struct thread *td, struct __setrlimit_args *uap)
{
struct rlimit alim;
int error;
@@ -645,7 +645,7 @@ kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which,
struct rlimit *limp)
{
struct plimit *newlim, *oldlim;
- register struct rlimit *alimp;
+ struct rlimit *alimp;
struct rlimit oldssiz;
int error;
@@ -775,7 +775,7 @@ struct __getrlimit_args {
#endif
/* ARGSUSED */
int
-sys_getrlimit(struct thread *td, register struct __getrlimit_args *uap)
+sys_getrlimit(struct thread *td, struct __getrlimit_args *uap)
{
struct rlimit rlim;
int error;
@@ -945,7 +945,7 @@ struct getrusage_args {
};
#endif
int
-sys_getrusage(register struct thread *td, register struct getrusage_args *uap)
+sys_getrusage(struct thread *td, struct getrusage_args *uap)
{
struct rusage ru;
int error;