- Use volatile for signal variables.

Suggested by:	Jaakko Heinonen <jh -at- saunalahti.fi>
This commit is contained in:
Ulf Lilleengen 2009-06-02 17:57:24 +00:00
parent 115df0b6d2
commit fd02a3b5c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193325

View File

@ -297,8 +297,8 @@ int lfmode; /* lost & found directory creation mode */
ufs2_daddr_t n_blks; /* number of blocks in use */
ino_t n_files; /* number of files in use */
sig_atomic_t got_siginfo; /* received a SIGINFO */
sig_atomic_t got_sigalarm; /* received a SIGALRM */
volatile sig_atomic_t got_siginfo; /* received a SIGINFO */
volatile sig_atomic_t got_sigalarm; /* received a SIGALRM */
#define clearinode(dp) \
if (sblock.fs_magic == FS_UFS1_MAGIC) { \