summaryrefslogtreecommitdiff
path: root/usr.sbin/faithd
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/faithd
parentc55ddf58f562dd3d0ed78b353331172be9cef96e (diff)
use volatile sig_atomic_t where possible; simply volatile i other places
Diffstat (limited to 'usr.sbin/faithd')
-rw-r--r--usr.sbin/faithd/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/faithd/tcp.c b/usr.sbin/faithd/tcp.c
index d30cc699843..6f026212cd2 100644
--- a/usr.sbin/faithd/tcp.c
+++ b/usr.sbin/faithd/tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp.c,v 1.8 2001/11/16 19:55:49 deraadt Exp $ */
+/* $OpenBSD: tcp.c,v 1.9 2001/11/17 19:49:38 deraadt Exp $ */
/* $KAME: tcp.c,v 1.6 2001/07/02 14:36:49 itojun Exp $ */
/*
@@ -59,7 +59,7 @@ static fd_set readfds, writefds, exceptfds;
static char atmark_buf[2];
static pid_t cpid = (pid_t)0;
static pid_t ppid = (pid_t)0;
-static time_t child_lastactive = (time_t)0;
+volatile time_t child_lastactive = (time_t)0;
static time_t parent_lastactive = (time_t)0;
static void sig_ctimeout __P((int));