# | Line 435 | Line 435 | int main(int argc, char **argv) | |
---|---|---|
435 | ||
436 | // POSIX.4 timers and real-time signals available, start 60Hz timer | |
437 | sigemptyset(&timer_sa.sa_mask); | |
438 | < | timer_sa.sa_sigaction = one_tick; |
438 | > | timer_sa.sa_sigaction = (void (*)(int, siginfo_t *, void *))one_tick; |
439 | timer_sa.sa_flags = SA_SIGINFO | SA_RESTART; | |
440 | if (sigaction(SIG_TIMER, &timer_sa, NULL) < 0) { | |
441 | sprintf(str, GetString(STR_SIG_INSTALL_ERR), "SIG_TIMER", strerror(errno)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |