summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vm/alloc/DlMalloc.cpp4
-rw-r--r--vm/alloc/DlMalloc.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/vm/alloc/DlMalloc.cpp b/vm/alloc/DlMalloc.cpp
index 8638ab5fa..157180100 100644
--- a/vm/alloc/DlMalloc.cpp
+++ b/vm/alloc/DlMalloc.cpp
@@ -36,11 +36,7 @@ static void heap_error(const char* msg, const char* function, void* p);
* dlmalloc for our use for mspaces (regular dlmalloc is still declared
* in bionic).
*/
-#pragma GCC diagnostic ignored "-Wempty-body"
-#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#include "../../../bionic/libc/upstream-dlmalloc/malloc.c"
-#pragma GCC diagnostic warning "-Wstrict-aliasing"
-#pragma GCC diagnostic warning "-Wempty-body"
static void heap_error(const char* msg, const char* function, void* p) {
diff --git a/vm/alloc/DlMalloc.h b/vm/alloc/DlMalloc.h
index e28c7e513..f07665654 100644
--- a/vm/alloc/DlMalloc.h
+++ b/vm/alloc/DlMalloc.h
@@ -24,7 +24,6 @@
#define MSPACES 1
#define NO_MALLINFO 1
#define ONLY_MSPACES 1
-#define USE_DL_PREFIX 1
#define MALLOC_INSPECT_ALL 1
/* Include the proper definitions. */