From b17b9021ecf9b16c265d0a6b60faa761b34eae35 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 12 Feb 2013 20:18:58 -0800 Subject: Replace mt_rand with Also add some utility methods and classes. --- src/common/core.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/common/core.cpp') diff --git a/src/common/core.cpp b/src/common/core.cpp index ae0e3eb..994de93 100644 --- a/src/common/core.cpp +++ b/src/common/core.cpp @@ -8,7 +8,7 @@ #include #include -#include "mt_rand.hpp" +#include "random.hpp" #include "socket.hpp" #include "timer.hpp" @@ -68,9 +68,6 @@ bool runflag = true; */ int main(int argc, char **argv) { - /// Note that getpid() and getppid() may be very close - mt_seed(time(NULL) ^ (getpid() << 16) ^ (getppid() << 8)); - do_socket(); do_init(argc, argv); -- cgit v1.2.3-70-g09d2