From 765b77b9d1dff55d4f43b03c5aef52e514a8a4cf Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 15 Apr 2013 18:33:28 -0700 Subject: [PATCH] datarace: make globals static They're only global within this file. --- datarace.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/datarace.cc b/datarace.cc index 9f75642e..5f007f36 100644 --- a/datarace.cc +++ b/datarace.cc @@ -8,10 +8,10 @@ #include "config.h" #include "action.h" -struct ShadowTable *root; +static struct ShadowTable *root; SnapVector unrealizedraces; -void *memory_base; -void *memory_top; +static void *memory_base; +static void *memory_top; /** This function initialized the data race detector. */ -- 2.34.1