fixed should_run declaration

Removed the local declaration of should_run and set up the extern.
This commit is contained in:
William Hubbs 2009-06-24 20:12:15 -05:00
commit dfc9bbff65
2 changed files with 1 additions and 1 deletions

View file

@ -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;

View file

@ -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;