diff options
Diffstat (limited to 'sys/cmd/rc/trap.c')
-rw-r--r-- | sys/cmd/rc/trap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cmd/rc/trap.c b/sys/cmd/rc/trap.c index a572cac..ef46143 100644 --- a/sys/cmd/rc/trap.c +++ b/sys/cmd/rc/trap.c @@ -8,8 +8,8 @@ void dotrap(void) { int i; - struct var *trapreq; - struct word *starval; + struct Var *trapreq; + struct Word *starval; starval = vlook("*")->val; while(ntrap) for(i = 0;i!=NSIG;i++) while(trap[i]){ --trap[i]; @@ -17,9 +17,9 @@ dotrap(void) if(getpid()!=mypid) Exit(getstatus()); trapreq = vlook(Signame[i]); if(trapreq->fn){ - start(trapreq->fn, trapreq->pc, (struct var *)0); + start(trapreq->fn, trapreq->pc, (struct Var *)0); runq->local = newvar(strdup("*"), runq->local); - runq->local->val = copywords(starval, (struct word *)0); + runq->local->val = copywords(starval, (struct Word *)0); runq->local->changed = 1; runq->redir = runq->startredir = 0; } |