summaryrefslogtreecommitdiff
path: root/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-31 19:31:21 +0000
committerChris Lattner <sabre@nondot.org>2003-07-31 19:31:21 +0000
commit396aecd032413d461a9b8a0b2499ee6a838859f4 (patch)
tree8e721b67bca4e8e6bf77dbe60e363ba0e0ea800d /lib/Support/Timer.cpp
parentb08f3dfe502c0cb61eaca2a903997de333eafd01 (diff)
downloadllvm-396aecd032413d461a9b8a0b2499ee6a838859f4.tar.gz
llvm-396aecd032413d461a9b8a0b2499ee6a838859f4.tar.bz2
llvm-396aecd032413d461a9b8a0b2499ee6a838859f4.tar.xz
Trivial cleanups: no need to include header twice. Global variable is local to file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Timer.cpp')
-rw-r--r--lib/Support/Timer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp
index 79d4c1cfe8..e4c085d266 100644
--- a/lib/Support/Timer.cpp
+++ b/lib/Support/Timer.cpp
@@ -4,8 +4,6 @@
//
//===----------------------------------------------------------------------===//
-#include "Config/malloc.h"
-
#include "Support/Timer.h"
#include "Support/CommandLine.h"
@@ -19,7 +17,7 @@
#include <functional>
#include <fstream>
-std::string LibSupportInfoOutputFilename;
+static std::string LibSupportInfoOutputFilename;
namespace {
#ifdef HAVE_MALLINFO