From eaee32593281d404806ea529abc27ccaa012954b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 31 Jul 2003 19:31:21 +0000 Subject: [PATCH] Trivial cleanups: no need to include header twice. Global variable is local to file llvm-svn: 7456 --- llvm/lib/Support/Timer.cpp | 4 +--- llvm/support/lib/Support/Timer.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp index 79d4c1cfe827..e4c085d266ad 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 #include -std::string LibSupportInfoOutputFilename; +static std::string LibSupportInfoOutputFilename; namespace { #ifdef HAVE_MALLINFO diff --git a/llvm/support/lib/Support/Timer.cpp b/llvm/support/lib/Support/Timer.cpp index 79d4c1cfe827..e4c085d266ad 100644 --- a/llvm/support/lib/Support/Timer.cpp +++ b/llvm/support/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 #include -std::string LibSupportInfoOutputFilename; +static std::string LibSupportInfoOutputFilename; namespace { #ifdef HAVE_MALLINFO