From c6c21f489d1288326ee2511d173af2dd7430e62b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 19 Feb 2010 15:32:45 +0100 Subject: s3-lib: Remove obsolete signal type cast. --- source3/lib/smbldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/smbldap.c') diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index 7aa36bac0b..118f89169b 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -1399,7 +1399,7 @@ static int smbldap_search_ext(struct smbldap_state *ldap_state, * just a bit more kind to the server. VL. */ got_alarm = 0; - CatchSignal(SIGALRM, SIGNAL_CAST gotalarm_sig); + CatchSignal(SIGALRM, gotalarm_sig); alarm(lp_ldap_timeout()); /* End setup timeout. */ @@ -1434,7 +1434,7 @@ static int smbldap_search_ext(struct smbldap_state *ldap_state, TALLOC_FREE(utf8_filter); /* Teardown timeout. */ - CatchSignal(SIGALRM, SIGNAL_CAST SIG_IGN); + CatchSignal(SIGALRM, SIG_IGN); alarm(0); if (got_alarm != 0) -- cgit