summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc/vendor/src/symbolize.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/tcmalloc/vendor/src/symbolize.h')
-rw-r--r--third_party/tcmalloc/vendor/src/symbolize.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/third_party/tcmalloc/vendor/src/symbolize.h b/third_party/tcmalloc/vendor/src/symbolize.h
index 8fb0366..72196f6 100644
--- a/third_party/tcmalloc/vendor/src/symbolize.h
+++ b/third_party/tcmalloc/vendor/src/symbolize.h
@@ -33,10 +33,6 @@
#ifndef TCMALLOC_SYMBOLIZE_H_
#define TCMALLOC_SYMBOLIZE_H_
-#include "config.h"
-#ifdef HAVE_STDINT_H
-#include <stdint.h> // for uintptr_t
-#endif
#include <map>
using std::map;
@@ -46,7 +42,7 @@ static const int kSymbolSize = 1024;
// TODO(glider): it's better to make SymbolMap a class that encapsulates the
// address operations and has the Symbolize() method.
-typedef map<uintptr_t, const char*> SymbolMap;
+typedef map<uintptr_t, char*> SymbolMap;
extern bool Symbolize(char *out, int out_size,
SymbolMap *symbolization_table);