summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-12 17:48:54 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-12 17:48:54 +0000
commitdd93fcee1946dc43132bc58fef838d86dc67196f (patch)
treead0c0a7a4f8227a9f6dd3b364e484c71154d32a8
parent9e4436dfc7f6fbcb9888244b72632642e8a9c79d (diff)
make signo a volatile variable. sync with kame
-rw-r--r--usr.sbin/route6d/route6d.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index 047c83174ff..85016f30605 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: route6d.c,v 1.13 2001/01/12 14:54:58 itojun Exp $ */
-/* $KAME: route6d.c,v 1.40 2001/01/12 14:52:25 itojun Exp $ */
+/* $OpenBSD: route6d.c,v 1.14 2001/01/12 17:48:53 itojun Exp $ */
+/* $KAME: route6d.c,v 1.41 2001/01/12 17:48:02 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -31,7 +31,7 @@
*/
#if 0
-static char _rcsid[] = "$OpenBSD: route6d.c,v 1.13 2001/01/12 14:54:58 itojun Exp $";
+static char _rcsid[] = "$OpenBSD: route6d.c,v 1.14 2001/01/12 17:48:53 itojun Exp $";
#endif
#include <stdio.h>
@@ -201,7 +201,7 @@ int logopened = 0;
static u_long seq = 0;
-int signo;
+volatile int signo;
#define RRTF_AGGREGATE 0x08000000
#define RRTF_NOADVERTISE 0x10000000