Commit 630e77ba authored by 's avatar

Remove unnecessary #include.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@31 eb4d4688-79bd-11dd-afb4-1d65580434c0
parent c3441fb6
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
#endif #endif
#include "base/googleinit.h" #include "base/googleinit.h"
#include "stacktrace.h"
#include "symbolize.h"
using std::string; using std::string;
...@@ -25,6 +23,8 @@ _START_GOOGLE_NAMESPACE_ ...@@ -25,6 +23,8 @@ _START_GOOGLE_NAMESPACE_
static const char* g_program_invocation_short_name = NULL; static const char* g_program_invocation_short_name = NULL;
static pthread_t g_main_thread_id; static pthread_t g_main_thread_id;
_END_GOOGLE_NAMESPACE_
// The following APIs are all internal. // The following APIs are all internal.
#ifdef HAVE_STACKTRACE #ifdef HAVE_STACKTRACE
...@@ -35,6 +35,8 @@ static pthread_t g_main_thread_id; ...@@ -35,6 +35,8 @@ static pthread_t g_main_thread_id;
DEFINE_bool(symbolize_stacktrace, true, DEFINE_bool(symbolize_stacktrace, true,
"Symbolize the stack trace in the tombstone"); "Symbolize the stack trace in the tombstone");
_START_GOOGLE_NAMESPACE_
typedef void DebugWriter(const char*, void*); typedef void DebugWriter(const char*, void*);
// The %p field width for printf() functions is two characters per byte. // The %p field width for printf() functions is two characters per byte.
...@@ -120,8 +122,12 @@ static void DumpStackTraceAndExit() { ...@@ -120,8 +122,12 @@ static void DumpStackTraceAndExit() {
abort(); abort();
} }
_END_GOOGLE_NAMESPACE_
#endif // HAVE_STACKTRACE #endif // HAVE_STACKTRACE
_START_GOOGLE_NAMESPACE_
namespace glog_internal_namespace_ { namespace glog_internal_namespace_ {
const char* ProgramInvocationShortName() { const char* ProgramInvocationShortName() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment