OSDN Git Service

Remove unused limits.h include and fix sys/mman.h include comment.
authorCarl Shapiro <cshapiro@google.com>
Fri, 30 Jul 2010 02:51:53 +0000 (19:51 -0700)
committerCarl Shapiro <cshapiro@google.com>
Fri, 30 Jul 2010 02:51:53 +0000 (19:51 -0700)
Change-Id: I00299ca598af03da27be29867b71588c3aa81e83

vm/alloc/HeapBitmap.c

index 2f412dc..1f4a9c9 100644 (file)
@@ -17,8 +17,7 @@
 #include "Dalvik.h"
 #include "HeapBitmap.h"
 #include "clz.h"
-#include <limits.h>     // for ULONG_MAX
-#include <sys/mman.h>   // for madvise(), mmap()
+#include <sys/mman.h>   /* for PROT_* */
 
 #define LIKELY(exp)     (__builtin_expect((exp) != 0, true))
 #define UNLIKELY(exp)   (__builtin_expect((exp) != 0, false))