summaryrefslogtreecommitdiffstats
path: root/llvm/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
commiteaee32593281d404806ea529abc27ccaa012954b (patch)
treeb7d838edbfcaff93005664cb53c898b28b4d7913 /llvm/lib/Support/Timer.cpp
parenta0e679e29945e1815eac25532aaa40dce5a4ad2a (diff)
downloadbcm5719-llvm-eaee32593281d404806ea529abc27ccaa012954b.tar.gz
bcm5719-llvm-eaee32593281d404806ea529abc27ccaa012954b.zip
Trivial cleanups: no need to include header twice. Global variable is local to file
llvm-svn: 7456
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
-rw-r--r--llvm/lib/Support/Timer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp
index 79d4c1cfe82..e4c085d266a 100644
--- a/llvm/lib/Support/Timer.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud