From: Chris Lattner Date: Thu, 31 Jul 2003 19:31:21 +0000 (+0000) Subject: Trivial cleanups: no need to include header twice. Global variable is local to file X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=396aecd032413d461a9b8a0b2499ee6a838859f4;p=oota-llvm.git 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 --- diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 79d4c1cfe82..e4c085d266a 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 #include -std::string LibSupportInfoOutputFilename; +static std::string LibSupportInfoOutputFilename; namespace { #ifdef HAVE_MALLINFO diff --git a/support/lib/Support/Timer.cpp b/support/lib/Support/Timer.cpp index 79d4c1cfe82..e4c085d266a 100644 --- a/support/lib/Support/Timer.cpp +++ b/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