summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-06-17 15:33:13 +0000
committerGerald Carter <jerry@samba.org>2002-06-17 15:33:13 +0000
commit7b60e2304052c5603740ea11ce1345a32e1b9175 (patch)
tree121a6e788e22d5c46627050b8b9848aaf1896084 /source3/nmbd
parentaaf43bbc8fc113527cb4bb6da5fa9be06b2a1548 (diff)
downloadsamba-7b60e2304052c5603740ea11ce1345a32e1b9175.tar.gz
samba-7b60e2304052c5603740ea11ce1345a32e1b9175.tar.bz2
samba-7b60e2304052c5603740ea11ce1345a32e1b9175.zip
compile warngin fixes merged from 2.2
(This used to be commit 29874f4b8fecdc7cbd84d656dafce54cca49e0b1)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 051991f46d..f698b396b2 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -78,7 +78,7 @@ static void nmbd_terminate(int msg_type, pid_t src, void *buf, size_t len)
Catch a SIGTERM signal.
**************************************************************************** */
-static VOLATILE sig_atomic_t got_sig_term;
+static SIG_ATOMIC_T got_sig_term;
static void sig_term(int sig)
{
@@ -90,7 +90,7 @@ static void sig_term(int sig)
Catch a SIGHUP signal.
**************************************************************************** */
-static VOLATILE sig_atomic_t reload_after_sighup;
+static SIG_ATOMIC_T reload_after_sighup;
static void sig_hup(int sig)
{