[llvm-commits] CVS: llvm/lib/Support/Timer.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Jul 31 14:32:01 PDT 2003


Changes in directory llvm/lib/Support:

Timer.cpp updated: 1.21 -> 1.22

---
Log message:

Trivial cleanups: no need to include header twice.  Global variable is local to file


---
Diffs of the changes:

Index: llvm/lib/Support/Timer.cpp
diff -u llvm/lib/Support/Timer.cpp:1.21 llvm/lib/Support/Timer.cpp:1.22
--- llvm/lib/Support/Timer.cpp:1.21	Mon Jun 30 16:58:48 2003
+++ llvm/lib/Support/Timer.cpp	Thu Jul 31 14:31:21 2003
@@ -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





More information about the llvm-commits mailing list