From: Nick Mathewson Date: Thu, 2 Sep 2010 17:21:17 +0000 (-0400) Subject: Fix pointer-to-__cdecl-function syntax X-Git-Tag: release-2.0.7-rc~17^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=478827739c0365f398a63f86c08f588ae9a12401;p=libevent Fix pointer-to-__cdecl-function syntax --- diff --git a/signal.c b/signal.c index d39514ff..4e70c9d9 100644 --- a/signal.c +++ b/signal.c @@ -147,7 +147,7 @@ evsig_init(struct event_base *base) * we can restore the original handler when we clear the current one. */ int _evsig_set_handler(struct event_base *base, - int evsignal, void (*__cdecl handler)(int)) + int evsignal, void (__cdecl *handler)(int)) { #ifdef _EVENT_HAVE_SIGACTION struct sigaction sa;