Changeset 1240 for trunk/src/kash/trap.c
- Timestamp:
- Oct 10, 2007, 4:32:54 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/trap.c
r1233 r1240 82 82 //int pendingsigs; /* indicates some signal received */ 83 83 84 static int getsigaction(shinstance *, int, sh _sig_t *);84 static int getsigaction(shinstance *, int, shsig_t *); 85 85 86 86 /* … … 245 245 { 246 246 int action; 247 sh _sig_t sigact = SH_SIG_DFL;247 shsig_t sigact = SH_SIG_DFL; 248 248 char *t, tsig; 249 249 … … 321 321 */ 322 322 static int 323 getsigaction(shinstance *psh, int signo, sh _sig_t *sigact)324 { 325 struct sh _sigaction sa;326 327 if (sh_sigaction( signo, NULL, &sa) == -1)323 getsigaction(shinstance *psh, int signo, shsig_t *sigact) 324 { 325 struct shsigaction sa; 326 327 if (sh_sigaction(psh, signo, NULL, &sa) == -1) 328 328 return 0; 329 *sigact = (sh _sig_t)sa.sh_handler;329 *sigact = (shsig_t)sa.sh_handler; 330 330 return 1; 331 331 }
Note:
See TracChangeset
for help on using the changeset viewer.