diff options
author | Andreas Schneider <asn@redhat.com> | 2010-02-19 15:32:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-23 12:23:43 +0100 |
commit | c6c21f489d1288326ee2511d173af2dd7430e62b (patch) | |
tree | 0b26cc100a5d7b5988f96b06319390ee43e2d3a7 /source3/lib/smbldap.c | |
parent | 5ad801beb94d9120e2951e3c5fd1a1115d2dfd35 (diff) | |
download | samba-c6c21f489d1288326ee2511d173af2dd7430e62b.tar.gz |
s3-lib: Remove obsolete signal type cast.
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r-- | source3/lib/smbldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index 7aa36bac0b2..118f89169b9 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) |