]> granicus.if.org Git - curl/commitdiff
signal() returns 'void (*)(int)'.
authorGisle Vanem <gvanem@broadpark.no>
Fri, 8 Sep 2006 13:06:41 +0000 (13:06 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Fri, 8 Sep 2006 13:06:41 +0000 (13:06 +0000)
lib/url.c

index b5e9877252485bb13b2dfb2f79a58a33a6a9448c..e26e47503071ae0f7e7af7aa20bbd13d137fe0ff 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -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 */