CVS is still broken with gcc3. This fixes it.

But please explain _why_ the 'volatile' attribute is needed with these
variables and why is it supposed to protect them ?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3336 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-12-05 10:31:10 +00:00
parent 8e509479c6
commit d5462be87b
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ typedef struct ao_plugin_data_s
float delay_fix; /* Fix delay */
}ao_plugin_data_t;
extern ao_plugin_data_t ao_plugin_data;
extern volatile ao_plugin_data_t ao_plugin_data;
// Plugin confuguration data set by cmd-line parameters
typedef struct ao_plugin_cfg_s
@ -36,7 +36,7 @@ typedef struct ao_plugin_cfg_s
int pl_delay_len; // Number of samples to delay sound output
} ao_plugin_cfg_t;
extern ao_plugin_cfg_t ao_plugin_cfg;
extern volatile ao_plugin_cfg_t ao_plugin_cfg;
// Configuration defaults
#define CFG_DEFAULTS { \