Commit 1dec1756 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

signal() returns 'void (*)(int)'.

parent 9cc3795f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */