| OLD | NEW |
| 1 #include <signal.h> | 1 #include <signal.h> |
| 2 #include <unistd.h> | 2 #include <unistd.h> |
| 3 | 3 |
| 4 #ifdef __sh__ | |
| 5 #define signal(a,b) /* Signals not supported on this target - make them go a
way */ | |
| 6 #endif | |
| 7 | 4 |
| 8 /* Signal handlers, we set breakpoints in them to make sure that the | 5 /* Signal handlers, we set breakpoints in them to make sure that the |
| 9 signals really get delivered. */ | 6 signals really get delivered. */ |
| 10 | 7 |
| 11 #ifdef PROTOTYPES | 8 #ifdef PROTOTYPES |
| 12 void | 9 void |
| 13 handle_ABRT (int sig) | 10 handle_ABRT (int sig) |
| 14 #else | 11 #else |
| 15 void | 12 void |
| 16 handle_ABRT (sig) | 13 handle_ABRT (sig) |
| (...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1567 #endif | 1564 #endif |
| 1568 return 0; | 1565 return 0; |
| 1569 } | 1566 } |
| 1570 | 1567 |
| 1571 int | 1568 int |
| 1572 gen_TERM () | 1569 gen_TERM () |
| 1573 { | 1570 { |
| 1574 kill (getpid (), SIGTERM); | 1571 kill (getpid (), SIGTERM); |
| 1575 return 0; | 1572 return 0; |
| 1576 } | 1573 } |
error: old chunk mismatch |
None
| OLD | NEW |