This was in <stdlib.h> in older releases. It's no longer used, but we can
preserve backwards compatibility by making it a no-op.
Bug:
16205834
Change-Id: Idde7b46df4f253e39675600bcf82352879a716e7
// The current implementation stirs itself as needed.
}
+// This was removed from BSD.
+extern "C" void arc4random_addrandom(unsigned char*, int) {
+ // The current implementation adds randomness as needed.
+}
+
// Old versions of the NDK did not export malloc_usable_size, but did
// export dlmalloc_usable_size. We are moving away from dlmalloc in L
// so make this call malloc_usable_size.