51 |
|
extern "C" void *get_r13(void); |
52 |
|
extern "C" void set_r13(void *); |
53 |
|
extern void paranoia_check(void); |
54 |
< |
extern "C" void sigusr2_handler_init(int sig, siginfo_t *sip, void *scp); |
55 |
< |
extern "C" void sigusr2_handler(int sig, siginfo_t *sip, void *scp); |
54 |
> |
static void sigusr2_handler(int sig, siginfo_t *sip, void *scp); |
55 |
|
static void *tick_func(void *); |
56 |
|
static void *emul_func(void *); |
57 |
|
|
103 |
|
sigusr2_action.sa_sigaction = sigusr2_handler; |
104 |
|
sigusr2_action.sa_flags = SA_SIGINFO | SA_ONSTACK | SA_RESTART; |
105 |
|
if (sigaction(SIGUSR2, &sigusr2_action, &old_action) < 0) { |
106 |
< |
sprintf(str, GetString(STR_SIGUSR2_INSTALL_ERR), strerror(errno)); |
106 |
> |
sprintf(str, GetString(STR_SIG_INSTALL_ERR), "SIGUSR2", strerror(errno)); |
107 |
|
ErrorAlert(str); |
108 |
|
exit(1); |
109 |
|
} |