From d3bcba6a055969593c4b59a52e3904e7b25a1a54 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Wed, 15 Feb 2006 11:14:54 +0000 Subject: [PATCH] Removed "volatile" from global var "opt" - this was only needed a long time ago to work around problems with ancient C++ compilers. committer: mfx 1140002094 +0000 --- src/main.cpp | 2 +- src/options.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 0d891761..c6074403 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; diff --git a/src/options.h b/src/options.h index 905bb7f8..086ad764 100644 --- a/src/options.h +++ b/src/options.h @@ -142,7 +142,7 @@ struct options_t { } win32_pe; }; -extern struct options_t * volatile opt; +extern struct options_t *opt; #endif /* already included */