Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/route6d make signo a volatile variable. sync with ...



details:   https://anonhg.NetBSD.org/src/rev/a560de68b195
branches:  trunk
changeset: 502147:a560de68b195
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Jan 12 17:48:37 2001 +0000

description:
make signo a volatile variable.  sync with kame

diffstat:

 usr.sbin/route6d/route6d.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 7b09543290aa -r a560de68b195 usr.sbin/route6d/route6d.c
--- a/usr.sbin/route6d/route6d.c        Fri Jan 12 17:17:49 2001 +0000
+++ b/usr.sbin/route6d/route6d.c        Fri Jan 12 17:48:37 2001 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: route6d.c,v 1.21 2001/01/12 14:55:13 itojun Exp $      */
-/*     $KAME: route6d.c,v 1.40 2001/01/12 14:52:25 itojun Exp $        */
+/*     $NetBSD: route6d.c,v 1.22 2001/01/12 17:48:37 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.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef        lint
-__RCSID("$NetBSD: route6d.c,v 1.21 2001/01/12 14:55:13 itojun Exp $");
+__RCSID("$NetBSD: route6d.c,v 1.22 2001/01/12 17:48:37 itojun Exp $");
 #endif
 
 #include <stdio.h>
@@ -202,7 +202,7 @@
 
 static u_long  seq = 0;
 
-int signo;
+volatile int signo;
 
 #define        RRTF_AGGREGATE          0x08000000
 #define        RRTF_NOADVERTISE        0x10000000



Home | Main Index | Thread Index | Old Index