mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 14:26:30 -04:00
Fix pointer-to-__cdecl-function syntax
This commit is contained in:
parent
f0056d041b
commit
478827739c
2
signal.c
2
signal.c
@ -147,7 +147,7 @@ evsig_init(struct event_base *base)
|
|||||||
* we can restore the original handler when we clear the current one. */
|
* we can restore the original handler when we clear the current one. */
|
||||||
int
|
int
|
||||||
_evsig_set_handler(struct event_base *base,
|
_evsig_set_handler(struct event_base *base,
|
||||||
int evsignal, void (*__cdecl handler)(int))
|
int evsignal, void (__cdecl *handler)(int))
|
||||||
{
|
{
|
||||||
#ifdef _EVENT_HAVE_SIGACTION
|
#ifdef _EVENT_HAVE_SIGACTION
|
||||||
struct sigaction sa;
|
struct sigaction sa;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user