mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
compiler love: make a few symbols static and avoid unneeded relocations
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
This commit is contained in:
parent
a96a9a076d
commit
5676fbbc9e
7 changed files with 10 additions and 15 deletions
|
@ -60,7 +60,7 @@ static void throw_out_of_memory() {
|
|||
}
|
||||
|
||||
#ifdef PROFILE_MEMORY
|
||||
unsigned g_synch_counter = 0;
|
||||
static unsigned g_synch_counter = 0;
|
||||
class mem_usage_report {
|
||||
public:
|
||||
~mem_usage_report() {
|
||||
|
|
|
@ -19,7 +19,7 @@ Revision History:
|
|||
|
||||
#include"util.h"
|
||||
|
||||
unsigned g_verbosity_level = 0;
|
||||
static unsigned g_verbosity_level = 0;
|
||||
|
||||
void set_verbosity_level(unsigned lvl) {
|
||||
g_verbosity_level = lvl;
|
||||
|
@ -40,7 +40,7 @@ std::ostream& verbose_stream() {
|
|||
}
|
||||
|
||||
|
||||
void (*g_fatal_error_handler)(int) = 0;
|
||||
static void (*g_fatal_error_handler)(int) = 0;
|
||||
|
||||
void fatal_error(int error_code) {
|
||||
if (g_fatal_error_handler) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue