Clean up whitespace and remove register keyword.
This commit is contained in:
parent
4b7ef73d71
commit
1d062e2be8
@ -245,7 +245,7 @@ static int
|
||||
getdents_common(struct thread *td, struct linux_getdents64_args *args,
|
||||
int is64bit)
|
||||
{
|
||||
register struct dirent *bdp;
|
||||
struct dirent *bdp;
|
||||
struct vnode *vp;
|
||||
caddr_t inp, buf; /* BSD-format */
|
||||
int len, reclen; /* BSD-format */
|
||||
|
@ -266,9 +266,9 @@ extern unsigned long linux_sznonrtsigcode;
|
||||
static void
|
||||
linux_rt_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
{
|
||||
register struct thread *td = curthread;
|
||||
register struct proc *p = td->td_proc;
|
||||
register struct trapframe *regs;
|
||||
struct thread *td = curthread;
|
||||
struct proc *p = td->td_proc;
|
||||
struct trapframe *regs;
|
||||
struct l_rt_sigframe *fp, frame;
|
||||
int oonstack;
|
||||
|
||||
@ -396,9 +396,9 @@ linux_rt_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
static void
|
||||
linux_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
{
|
||||
register struct thread *td = curthread;
|
||||
register struct proc *p = td->td_proc;
|
||||
register struct trapframe *regs;
|
||||
struct thread *td = curthread;
|
||||
struct proc *p = td->td_proc;
|
||||
struct trapframe *regs;
|
||||
struct l_sigframe *fp, frame;
|
||||
l_sigset_t lmask;
|
||||
int oonstack, i;
|
||||
@ -508,7 +508,7 @@ linux_sigreturn(struct thread *td, struct linux_sigreturn_args *args)
|
||||
{
|
||||
struct proc *p = td->td_proc;
|
||||
struct l_sigframe frame;
|
||||
register struct trapframe *regs;
|
||||
struct trapframe *regs;
|
||||
l_sigset_t lmask;
|
||||
int eflags, i;
|
||||
|
||||
@ -605,7 +605,7 @@ linux_rt_sigreturn(struct thread *td, struct linux_rt_sigreturn_args *args)
|
||||
struct l_sigcontext *context;
|
||||
l_stack_t *lss;
|
||||
stack_t ss;
|
||||
register struct trapframe *regs;
|
||||
struct trapframe *regs;
|
||||
int eflags;
|
||||
|
||||
regs = td->td_frame;
|
||||
|
Loading…
Reference in New Issue
Block a user