diff options
Diffstat (limited to 'lib/Support/Process.cpp')
-rw-r--r-- | lib/Support/Process.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Support/Process.cpp b/lib/Support/Process.cpp index 2cff1cebe5..88ca7c3f22 100644 --- a/lib/Support/Process.cpp +++ b/lib/Support/Process.cpp @@ -13,7 +13,6 @@ #include "llvm/Support/Process.h" #include "llvm/Config/config.h" -#include <cstdlib> namespace llvm { using namespace sys; @@ -23,15 +22,6 @@ using namespace sys; //=== independent code. //===----------------------------------------------------------------------===// -unsigned llvm::sys::Process::GetRandomNumber() { -#if defined(HAVE_ARC4RANDOM) - return arc4random(); -#else - static int x = (::srand(::time(NULL)), 0); - return ::rand(); -#endif -} - } // Include the platform-specific parts of this class. |