diff --git a/tools/perf/tests/bp_account.c b/tools/perf/tests/bp_account.c index a20cbc44542691..624e4ef73d1c0c 100644 --- a/tools/perf/tests/bp_account.c +++ b/tools/perf/tests/bp_account.c @@ -22,7 +22,7 @@ #include "perf.h" #include "cloexec.h" -volatile long the_var; +static volatile long the_var; static noinline int test_function(void) {