From 12defed07eaf1a4c6e058e378cd201c67a9af6bc 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 --- lib/Support/Timer.cpp | 4 +--- support/lib/Support/Timer.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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