summaryrefslogtreecommitdiff
path: root/usr.sbin/sliplogin/sliplogin.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 19:49:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 19:49:42 +0000
commitf664c99523803169394338e73ca135f9e0747e4c (patch)
tree2f994841c529b09007609269dbafc91aeb3fc069 /usr.sbin/sliplogin/sliplogin.c
parentc55ddf58f562dd3d0ed78b353331172be9cef96e (diff)
use volatile sig_atomic_t where possible; simply volatile i other places
Diffstat (limited to 'usr.sbin/sliplogin/sliplogin.c')
-rw-r--r--usr.sbin/sliplogin/sliplogin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sliplogin/sliplogin.c b/usr.sbin/sliplogin/sliplogin.c
index 241741f3a25..ea268d4ef5f 100644
--- a/usr.sbin/sliplogin/sliplogin.c
+++ b/usr.sbin/sliplogin/sliplogin.c
@@ -39,7 +39,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)sliplogin.c 5.6 (Berkeley) 3/2/91";*/
-static char rcsid[] = "$Id: sliplogin.c,v 1.17 2001/11/17 03:58:00 deraadt Exp $";
+static char rcsid[] = "$Id: sliplogin.c,v 1.18 2001/11/17 19:49:40 deraadt Exp $";
#endif /* not lint */
/*
@@ -180,7 +180,7 @@ sigstr(s)
}
}
-int die;
+volatile sig_atomic_t die;
void
hup_handler(s)