summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-08 06:14:08 +0000
committerTim Potter <tpot@samba.org>2001-05-08 06:14:08 +0000
commit88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c (patch)
treea57770d3dddb710ae6e66cad61d85301aa943945
parent9f1f811154e6d8f1a14687b1ee7f85d1dd18a925 (diff)
downloadsamba-88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c.tar.gz
samba-88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c.tar.xz
samba-88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c.zip
More compiler warning fixes.
-rw-r--r--source/smbd/notify_kernel.c4
-rw-r--r--source/smbd/oplock_linux.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/smbd/notify_kernel.c b/source/smbd/notify_kernel.c
index 6509354e9b9..ef4e47acf1e 100644
--- a/source/smbd/notify_kernel.c
+++ b/source/smbd/notify_kernel.c
@@ -62,9 +62,9 @@ struct change_data {
/****************************************************************************
the signal handler for change notify
*****************************************************************************/
-static void signal_handler(int signal, siginfo_t *info, void *unused)
+static void signal_handler(int sig, siginfo_t *info, void *unused)
{
- BlockSignals(True, signal);
+ BlockSignals(True, sig);
fd_pending = (SIG_ATOMIC_T)info->si_fd;
signals_received++;
sys_select_signal();
diff --git a/source/smbd/oplock_linux.c b/source/smbd/oplock_linux.c
index 5bf753d68c5..9edeb1b5137 100644
--- a/source/smbd/oplock_linux.c
+++ b/source/smbd/oplock_linux.c
@@ -52,9 +52,9 @@ static VOLATILE SIG_ATOMIC_T fd_pending; /* the fd of the current pending signal
/****************************************************************************
handle a LEASE signal, incrementing the signals_received and blocking the signal
****************************************************************************/
-static void signal_handler(int signal, siginfo_t *info, void *unused)
+static void signal_handler(int sig, siginfo_t *info, void *unused)
{
- BlockSignals(True, signal);
+ BlockSignals(True, sig);
fd_pending = (SIG_ATOMIC_T)info->si_fd;
signals_received++;
sys_select_signal();