mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
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:
parent
cc4ef1944d
commit
d3bcba6a05
|
@ -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;
|
||||
|
|
|
@ -142,7 +142,7 @@ struct options_t {
|
|||
} win32_pe;
|
||||
};
|
||||
|
||||
extern struct options_t * volatile opt;
|
||||
extern struct options_t *opt;
|
||||
|
||||
|
||||
#endif /* already included */
|
||||
|
|
Loading…
Reference in New Issue
Block a user