- Use volatile for signal variables.
Suggested by: Jaakko Heinonen <jh -at- saunalahti.fi>
This commit is contained in:
parent
115df0b6d2
commit
fd02a3b5c9
@ -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) { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user