aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-09-08 13:06:41 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-09-08 13:06:41 +0000
commit1dec17562f6527f2a5ed9fe8958911d87ea6879c (patch)
treea4416837ae8bf46c57d8785ff52344e3a12f2e8b /lib
parent9cc3795f1af9f84fa214ef2eefb1a4e6ff698620 (diff)
signal() returns 'void (*)(int)'.
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index b5e987725..e26e47503 100644
--- 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 */