From 38b0e6b4d7375740234fff7834621ce3bb54ada8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 19 Feb 2010 15:28:11 +0100 Subject: s3-nmbd: Remove obsolete signal type cast. --- source3/nmbd/nmbd_subnetdb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/nmbd/nmbd_subnetdb.c') diff --git a/source3/nmbd/nmbd_subnetdb.c b/source3/nmbd/nmbd_subnetdb.c index 703e229052..4fb1425094 100644 --- a/source3/nmbd/nmbd_subnetdb.c +++ b/source3/nmbd/nmbd_subnetdb.c @@ -251,7 +251,7 @@ bool create_subnets(void) * cause us to exit. */ - saved_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL ); + saved_handler = CatchSignal(SIGTERM, SIG_DFL); sleep(5); load_interfaces(); @@ -260,7 +260,7 @@ bool create_subnets(void) * We got an interface, restore our normal term handler. */ - CatchSignal( SIGTERM, SIGNAL_CAST saved_handler ); + CatchSignal(SIGTERM, saved_handler); } /* @@ -312,12 +312,12 @@ bool create_subnets(void) "given interfaces. Is your interface line in " "smb.conf correct ?\n")); - saved_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL ); + saved_handler = CatchSignal(SIGTERM, SIG_DFL); sleep(5); load_interfaces(); - CatchSignal( SIGTERM, SIGNAL_CAST saved_handler ); + CatchSignal(SIGTERM, saved_handler); goto try_interfaces_again; } -- cgit