mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
fixed should_run declaration
Removed the local declaration of should_run and set up the extern.
This commit is contained in:
parent
9d1cabdd0d
commit
dfc9bbff65
2 changed files with 1 additions and 1 deletions
|
|
@ -84,6 +84,7 @@ extern void select_audio_mode(void);
|
|||
extern int init_audio(unsigned int rate);
|
||||
extern void lock_audio_mutex(void);
|
||||
extern void unlock_audio_mutex(void);
|
||||
extern volatile int should_run;
|
||||
extern volatile int stopped;
|
||||
extern volatile int runner_must_stop;
|
||||
|
||||
|
|
|
|||
1
signal.c
1
signal.c
|
|
@ -36,7 +36,6 @@ void *signal_thread(void *arg)
|
|||
struct sigaction temp;
|
||||
sigset_t sigset;
|
||||
int sig;
|
||||
int should_run = 1;
|
||||
|
||||
/* install dummy handlers for the signals we want to process */
|
||||
temp.sa_handler = dummy_handler;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue