s3-nmbd: Remove obsolete signal type cast.
[ira/wip.git] / source3 / nmbd / nmbd.c
index 3b51a78dfe8b29a7f5d69aab0ae5ff92d7081b41..148361f9f93484748d2031af7892b75c6a0ff20b 100644 (file)
@@ -337,7 +337,7 @@ static void reload_interfaces(time_t t)
                 * Whilst we're waiting for an interface, allow SIGTERM to
                 * cause us to exit.
                 */
-               saved_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL );
+               saved_handler = CatchSignal(SIGTERM, SIG_DFL);
 
                /* We only count IPv4, non-loopback interfaces here. */
                while (iface_count_v4_nl() == 0) {
@@ -345,7 +345,7 @@ static void reload_interfaces(time_t t)
                        load_interfaces();
                }
 
-               CatchSignal( SIGTERM, SIGNAL_CAST saved_handler );
+               CatchSignal(SIGTERM, saved_handler);
 
                /*
                 * We got an interface, go back to blocking term.