Merge "Add back a dummy arc4random_stir for compatibility."

This commit is contained in:
Elliott Hughes 2014-09-03 23:34:04 +00:00 committed by Gerrit Code Review
commit 58bb54c38b

View File

@ -303,4 +303,9 @@ extern "C" char* index(const char* str, int ch) {
return strchr(str, ch);
}
// This was removed from BSD.
extern "C" void arc4random_stir(void) {
// The current implementation stirs itself as needed.
}
#endif