Module Name:    src
Committed By:   pooka
Date:           Mon Aug 30 08:30:17 UTC 2010

Modified Files:
        src/tests/dev/sysmon: t_swwdog.c

Log Message:
Make tcount volatile since a signal handler plays with it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/dev/sysmon/t_swwdog.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/dev/sysmon/t_swwdog.c
diff -u src/tests/dev/sysmon/t_swwdog.c:1.1 src/tests/dev/sysmon/t_swwdog.c:1.2
--- src/tests/dev/sysmon/t_swwdog.c:1.1	Fri Aug  6 16:13:26 2010
+++ src/tests/dev/sysmon/t_swwdog.c	Mon Aug 30 08:30:17 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_swwdog.c,v 1.1 2010/08/06 16:13:26 pooka Exp $	*/
+/*	$NetBSD: t_swwdog.c,v 1.2 2010/08/30 08:30:17 pooka Exp $	*/
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -44,7 +44,7 @@
 
 #include "../../h_macros.h"
 
-static sig_atomic_t tcount;
+static volatile sig_atomic_t tcount;
 
 static void
 sigcount(int sig)

Reply via email to