X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/272ccad1b68b6d9c17069f3c934886925bb15b5d..89c40777ba853d7136daede2da81a0a01f603e6a:/src/surf/random_mgr.c diff --git a/src/surf/random_mgr.c b/src/surf/random_mgr.c index 90326e674b..39fe6e2499 100644 --- a/src/surf/random_mgr.c +++ b/src/surf/random_mgr.c @@ -1,12 +1,14 @@ -/* 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 - * 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 "gras_config.h" /*_XBT_WIN32*/ +#include "src/internal_config.h" /*_XBT_WIN32*/ +#include +#include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(random, surf, "Random part of surf"); @@ -120,6 +122,10 @@ int _drand48_iterate(unsigned short int xsubi[3], return 0; } +double _drand48(void); +void _srand(unsigned int seed); +int _rand(void); +int _rand_r(unsigned int *pseed); double _drand48(void) {