diff options
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r-- | sys/kern/kern_prot.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index 16c8e2180b76..68f4f75f054a 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -295,7 +295,7 @@ struct getgroups_args { }; #endif int -sys_getgroups(struct thread *td, register struct getgroups_args *uap) +sys_getgroups(struct thread *td, struct getgroups_args *uap) { struct ucred *cred; u_int ngrp; @@ -324,7 +324,7 @@ struct setsid_args { #endif /* ARGSUSED */ int -sys_setsid(register struct thread *td, struct setsid_args *uap) +sys_setsid(struct thread *td, struct setsid_args *uap) { struct pgrp *pgrp; int error; @@ -382,11 +382,11 @@ struct setpgid_args { #endif /* ARGSUSED */ int -sys_setpgid(struct thread *td, register struct setpgid_args *uap) +sys_setpgid(struct thread *td, struct setpgid_args *uap) { struct proc *curp = td->td_proc; - register struct proc *targp; /* target process */ - register struct pgrp *pgrp; /* target pgrp */ + struct proc *targp; /* target process */ + struct pgrp *pgrp; /* target pgrp */ int error; struct pgrp *newpgrp; @@ -877,7 +877,7 @@ struct setreuid_args { #endif /* ARGSUSED */ int -sys_setreuid(register struct thread *td, struct setreuid_args *uap) +sys_setreuid(struct thread *td, struct setreuid_args *uap) { struct proc *p = td->td_proc; struct ucred *newcred, *oldcred; @@ -947,7 +947,7 @@ struct setregid_args { #endif /* ARGSUSED */ int -sys_setregid(register struct thread *td, struct setregid_args *uap) +sys_setregid(struct thread *td, struct setregid_args *uap) { struct proc *p = td->td_proc; struct ucred *newcred, *oldcred; @@ -1012,7 +1012,7 @@ struct setresuid_args { #endif /* ARGSUSED */ int -sys_setresuid(register struct thread *td, struct setresuid_args *uap) +sys_setresuid(struct thread *td, struct setresuid_args *uap) { struct proc *p = td->td_proc; struct ucred *newcred, *oldcred; @@ -1094,7 +1094,7 @@ struct setresgid_args { #endif /* ARGSUSED */ int -sys_setresgid(register struct thread *td, struct setresgid_args *uap) +sys_setresgid(struct thread *td, struct setresgid_args *uap) { struct proc *p = td->td_proc; struct ucred *newcred, *oldcred; @@ -1161,7 +1161,7 @@ struct getresuid_args { #endif /* ARGSUSED */ int -sys_getresuid(register struct thread *td, struct getresuid_args *uap) +sys_getresuid(struct thread *td, struct getresuid_args *uap) { struct ucred *cred; int error1 = 0, error2 = 0, error3 = 0; @@ -1188,7 +1188,7 @@ struct getresgid_args { #endif /* ARGSUSED */ int -sys_getresgid(register struct thread *td, struct getresgid_args *uap) +sys_getresgid(struct thread *td, struct getresgid_args *uap) { struct ucred *cred; int error1 = 0, error2 = 0, error3 = 0; @@ -1213,7 +1213,7 @@ struct issetugid_args { #endif /* ARGSUSED */ int -sys_issetugid(register struct thread *td, struct issetugid_args *uap) +sys_issetugid(struct thread *td, struct issetugid_args *uap) { struct proc *p = td->td_proc; @@ -1778,7 +1778,7 @@ p_canwait(struct thread *td, struct proc *p) struct ucred * crget(void) { - register struct ucred *cr; + struct ucred *cr; cr = malloc(sizeof(*cr), M_CRED, M_WAITOK | M_ZERO); refcount_init(&cr->cr_ref, 1); |