A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drand48 is not used anymore; stop using srand48.
[simgrid.git]
/
src
/
xbt
/
xbt_main.cpp
diff --git
a/src/xbt/xbt_main.cpp
b/src/xbt/xbt_main.cpp
index
5fe3845
..
5a80ce6
100644
(file)
--- a/
src/xbt/xbt_main.cpp
+++ b/
src/xbt/xbt_main.cpp
@@
-93,11
+93,6
@@
static void xbt_preinit()
#endif
xbt_log_preinit();
xbt_dict_preinit();
-
-#ifndef _WIN32
- constexpr unsigned seed = 2147483647;
- srand48(seed); // FIXME: still worthwhile?
-#endif
atexit(xbt_postexit);
}