Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add some missing prototypes
[simgrid.git] / src / surf / random_mgr.c
index 07cac22..39fe6e2 100644 (file)
@@ -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
 * 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 "internal_config.h" /*_XBT_WIN32*/
+#include "src/internal_config.h" /*_XBT_WIN32*/
 #include <math.h>
 #include <stdlib.h>
 
@@ -122,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)
 {