Removed "volatile" from global var "opt" - this was only needed
a long time ago to work around problems with ancient C++ compilers. committer: mfx <mfx> 1140002094 +0000
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ void init_options(struct options_t *o)
|
||||
}
|
||||
|
||||
static struct options_t global_options;
|
||||
struct options_t * volatile opt = &global_options;
|
||||
struct options_t *opt = &global_options;
|
||||
|
||||
static int done_output_name = 0;
|
||||
static int done_script_name = 0;
|
||||
|
||||
+1
-1
@@ -142,7 +142,7 @@ struct options_t {
|
||||
} win32_pe;
|
||||
};
|
||||
|
||||
extern struct options_t * volatile opt;
|
||||
extern struct options_t *opt;
|
||||
|
||||
|
||||
#endif /* already included */
|
||||
|
||||
Reference in New Issue
Block a user