ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/main_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/main_unix.cpp (file contents):
Revision 1.18 by cebix, 2000-07-24T20:39:34Z vs.
Revision 1.19 by cebix, 2000-07-25T13:52:17Z

# 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));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines