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
[simix] Make host->{on,off}() do the simcall directly
[simgrid.git]
/
src
/
surf
/
random_mgr.c
diff --git
a/src/surf/random_mgr.c
b/src/surf/random_mgr.c
index
07cac22
..
39fe6e2
100644
(file)
--- a/
src/surf/random_mgr.c
+++ b/
src/surf/random_mgr.c
@@
-1,12
+1,12
@@
-/* Copyright (c) 2007
, 2008, 2009, 2010
. The SimGrid Team.
+/* Copyright (c) 2007
-2014
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
-
* under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#include "surf/random_mgr.h"
#include "xbt/sysdep.h"
#include "surf/random_mgr.h"
#include "xbt/sysdep.h"
-#include "internal_config.h" /*_XBT_WIN32*/
+#include "
src/
internal_config.h" /*_XBT_WIN32*/
#include <math.h>
#include <stdlib.h>
#include <math.h>
#include <stdlib.h>
@@
-122,6
+122,10
@@
int _drand48_iterate(unsigned short int xsubi[3],
return 0;
}
return 0;
}
+double _drand48(void);
+void _srand(unsigned int seed);
+int _rand(void);
+int _rand_r(unsigned int *pseed);
double _drand48(void)
{
double _drand48(void)
{