diff options
author | root <root> | 2008-03-23 00:05:03 +0000 |
---|---|---|
committer | root <root> | 2008-03-23 00:05:03 +0000 |
commit | 736d5f9cbf1bdfe02ce49f21a081af49a86d591f (patch) | |
tree | d9ebe8920919046432f58551c6ed2bd39c7636a3 /ev.c | |
parent | 164507b71c49e48ce047c540035a3108fda2a81c (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -867,14 +867,14 @@ pipecb (EV_P_ ev_io *iow, int revents) /*****************************************************************************/ static void -sighandler (int signum) +ev_sighandler (int signum) { #if EV_MULTIPLICITY struct ev_loop *loop = &default_loop_struct; #endif #if _WIN32 - signal (signum, sighandler); + signal (signum, ev_sighandler); #endif signals [signum - 1].gotsig = 1; @@ -1932,10 +1932,10 @@ ev_signal_start (EV_P_ ev_signal *w) if (!((WL)w)->next) { #if _WIN32 - signal (w->signum, sighandler); + signal (w->signum, ev_sighandler); #else struct sigaction sa; - sa.sa_handler = sighandler; + sa.sa_handler = ev_sighandler; sigfillset (&sa.sa_mask); sa.sa_flags = SA_RESTART; /* if restarting works we save one iteration */ sigaction (w->signum, &sa, 0); |