mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Use sig_atomic_t
This commit is contained in:
parent
afc643d923
commit
8fb52b974b
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ int exit_sync_needed = 2;
|
|||
/****************************************************************************/
|
||||
/* signal */
|
||||
|
||||
volatile int global_interrupt = 0;
|
||||
volatile sig_atomic_t global_interrupt = 0;
|
||||
|
||||
int os_signal_interrupt(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ int exit_sync_needed = 2;
|
|||
/****************************************************************************/
|
||||
/* signal */
|
||||
|
||||
volatile int global_interrupt = 0;
|
||||
volatile sig_atomic_t global_interrupt = 0;
|
||||
|
||||
int os_signal_interrupt(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue