signal() returns 'void (*)(int)'.
This commit is contained in:
parent
9cc3795f1a
commit
1dec17562f
@ -3054,7 +3054,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
||||
bool keep_copysig=FALSE; /* did copy it? */
|
||||
#else
|
||||
#ifdef HAVE_SIGNAL
|
||||
void *keep_sigact; /* store the old handler here */
|
||||
void (*keep_sigact)(int); /* store the old handler here */
|
||||
#endif /* HAVE_SIGNAL */
|
||||
#endif /* HAVE_SIGACTION */
|
||||
#endif /* SIGALRM */
|
||||
|
Loading…
x
Reference in New Issue
Block a user