switch from SIG_ATOMIC_T to sig_atomic_t
[samba.git] / source4 / nmbd / nmbd.c
index 166e84bfbe905f79277c030f31bad1cbc68dcae2..0fa3525666e2048742c71783495345d5ba473043 100644 (file)
@@ -81,7 +81,7 @@ static void nmbd_terminate(int msg_type, pid_t src, void *buf, size_t len)
  Catch a SIGTERM signal.
  **************************************************************************** */
 
-static SIG_ATOMIC_T got_sig_term;
+static sig_atomic_t got_sig_term;
 
 static void sig_term(int sig)
 {
@@ -93,7 +93,7 @@ static void sig_term(int sig)
  Catch a SIGHUP signal.
  **************************************************************************** */
 
-static SIG_ATOMIC_T reload_after_sighup;
+static sig_atomic_t reload_after_sighup;
 
 static void sig_hup(int sig)
 {