From d9f31fea6a31acb7fd02166a69ec575de4acec1b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 19 Feb 2010 16:13:46 +0100 Subject: s3-print: Remove obsolete signal type cast. --- source3/printing/print_cups.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index 7d8248e428..804173f40f 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -35,7 +35,7 @@ static SIG_ATOMIC_T gotalarm; Signal function to tell us we timed out. ****************************************************************/ -static void gotalarm_sig(void) +static void gotalarm_sig(int signum) { gotalarm = 1; } @@ -89,7 +89,7 @@ static http_t *cups_connect(TALLOC_CTX *frame) gotalarm = 0; if (timeout) { - CatchSignal(SIGALRM, SIGNAL_CAST gotalarm_sig); + CatchSignal(SIGALRM, gotalarm_sig); alarm(timeout); } @@ -100,7 +100,7 @@ static http_t *cups_connect(TALLOC_CTX *frame) #endif - CatchSignal(SIGALRM, SIGNAL_CAST SIG_IGN); + CatchSignal(SIGALRM, SIG_IGN); alarm(0); if (http == NULL) { -- cgit