From 630e77bac08ad1b51538fd50e506d7a2c0f7befb Mon Sep 17 00:00:00 2001 From: Date: Fri, 23 Jan 2009 18:48:11 +0000 Subject: [PATCH] Remove unnecessary #include. git-svn-id: https://google-glog.googlecode.com/svn/trunk@31 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- src/utilities.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/utilities.cc b/src/utilities.cc index 6477065..e8cbc0c 100644 --- a/src/utilities.cc +++ b/src/utilities.cc @@ -15,8 +15,6 @@ #endif #include "base/googleinit.h" -#include "stacktrace.h" -#include "symbolize.h" using std::string; @@ -25,6 +23,8 @@ _START_GOOGLE_NAMESPACE_ static const char* g_program_invocation_short_name = NULL; static pthread_t g_main_thread_id; +_END_GOOGLE_NAMESPACE_ + // The following APIs are all internal. #ifdef HAVE_STACKTRACE @@ -35,6 +35,8 @@ static pthread_t g_main_thread_id; DEFINE_bool(symbolize_stacktrace, true, "Symbolize the stack trace in the tombstone"); +_START_GOOGLE_NAMESPACE_ + typedef void DebugWriter(const char*, void*); // The %p field width for printf() functions is two characters per byte. @@ -120,8 +122,12 @@ static void DumpStackTraceAndExit() { abort(); } +_END_GOOGLE_NAMESPACE_ + #endif // HAVE_STACKTRACE +_START_GOOGLE_NAMESPACE_ + namespace glog_internal_namespace_ { const char* ProgramInvocationShortName() { -- 2.7.4