diff options
author | Povilas Kanapickas <povilas@radix.lt> | 2020-11-27 18:48:56 +0200 |
---|---|---|
committer | Povilas Kanapickas <povilas@radix.lt> | 2020-11-27 18:48:56 +0200 |
commit | b9be5bc03baceeae108e8a09a2559b33400f395f (patch) | |
tree | e72e873da2df0352cd3bf6b71f2978f633483b43 | |
parent | db9076e9469c318b900d557cb76efffad953d219 (diff) |
Mark local global variable with internal linkage
-rw-r--r-- | src/xorg-gtest_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xorg-gtest_main.cpp b/src/xorg-gtest_main.cpp index 459c003..a1cdbe4 100644 --- a/src/xorg-gtest_main.cpp +++ b/src/xorg-gtest_main.cpp @@ -53,10 +53,10 @@ const struct option longopts[] = { { nullptr, 0, nullptr, 0 } }; -} // namespace - xorg::testing::Environment* environment = nullptr; +} // namespace + static void signal_handler(int signum) { if (environment) environment->Kill(); |