summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2006-03-15 13:30:49 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2006-03-15 13:30:49 +0000
commit0f2874e4d749d11278f80e03cbb81afbdeeb82b7 (patch)
treeaa1c63ea7b790251db3e1f974966c348b4f84630
parent1d73c38e6a65d1663269b8418c6aab2947a5f27a (diff)
- make cvs_worklist members volatile.
from deraadt@
-rw-r--r--usr.bin/cvs/worklist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/worklist.h b/usr.bin/cvs/worklist.h
index 480da552eff..2b553ec9d89 100644
--- a/usr.bin/cvs/worklist.h
+++ b/usr.bin/cvs/worklist.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: worklist.h,v 1.1 2006/03/08 20:18:41 joris Exp $ */
+/* $OpenBSD: worklist.h,v 1.2 2006/03/15 13:30:48 niallo Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -28,8 +28,8 @@
#define WORKLIST_H
struct cvs_worklist {
- char wkl_path[MAXPATHLEN];
- SLIST_ENTRY(cvs_worklist) wkl_list;
+ volatile char wkl_path[MAXPATHLEN];
+ volatile SLIST_ENTRY(cvs_worklist) wkl_list;
};
SLIST_HEAD(cvs_wklhead, cvs_worklist);