From 0f2874e4d749d11278f80e03cbb81afbdeeb82b7 Mon Sep 17 00:00:00 2001 From: Niall O'Higgins Date: Wed, 15 Mar 2006 13:30:49 +0000 Subject: - make cvs_worklist members volatile. from deraadt@ --- usr.bin/cvs/worklist.h | 6 +++--- 1 file 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 * 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); -- cgit v1.2.3