From 1dec17562f6527f2a5ed9fe8958911d87ea6879c Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Fri, 8 Sep 2006 13:06:41 +0000 Subject: signal() returns 'void (*)(int)'. --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.c') 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 */ -- cgit v1.2.3