summaryrefslogtreecommitdiffstats
path: root/mfbt/TaggedAnonymousMemory.h
diff options
context:
space:
mode:
Diffstat (limited to 'mfbt/TaggedAnonymousMemory.h')
-rw-r--r--mfbt/TaggedAnonymousMemory.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/mfbt/TaggedAnonymousMemory.h b/mfbt/TaggedAnonymousMemory.h
index d26b06dfb..545928471 100644
--- a/mfbt/TaggedAnonymousMemory.h
+++ b/mfbt/TaggedAnonymousMemory.h
@@ -39,28 +39,6 @@
#include "mozilla/Types.h"
-#ifdef ANDROID
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-MFBT_API void
-MozTagAnonymousMemory(const void* aPtr, size_t aLength, const char* aTag);
-
-MFBT_API void*
-MozTaggedAnonymousMmap(void* aAddr, size_t aLength, int aProt, int aFlags,
- int aFd, off_t aOffset, const char* aTag);
-
-MFBT_API int
-MozTaggedMemoryIsSupported(void);
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#else // ANDROID
-
static inline void
MozTagAnonymousMemory(const void* aPtr, size_t aLength, const char* aTag)
{
@@ -79,8 +57,6 @@ MozTaggedMemoryIsSupported(void)
return 0;
}
-#endif // ANDROID
-
#endif // !XP_WIN
#endif // mozilla_TaggedAnonymousMemory_h