Declare volatile variables modified by interrupt routines

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401709
This commit is contained in:
Patrice Mandin 2006-04-30 21:01:25 +00:00
parent d257f80e54
commit 39b3be9d6b
3 changed files with 14 additions and 14 deletions

View file

@ -119,10 +119,10 @@ enum {
extern SDL_AudioDevice *SDL_MintAudio_device;
extern Uint8 *SDL_MintAudio_audiobuf[2]; /* Pointers to buffers */
extern unsigned long SDL_MintAudio_audiosize; /* Length of audio buffer=spec->size */
extern unsigned short SDL_MintAudio_numbuf; /* Buffer to play */
extern unsigned short SDL_MintAudio_mutex;
extern volatile unsigned short SDL_MintAudio_numbuf; /* Buffer to play */
extern volatile unsigned short SDL_MintAudio_mutex;
extern cookie_stfa_t *SDL_MintAudio_stfa;
extern unsigned long SDL_MintAudio_clocktics;
extern volatile unsigned long SDL_MintAudio_clocktics;
/* MiNT thread variables */
extern SDL_bool SDL_MintAudio_mint_present;