Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Window doesn't provide the function drand48(), remove useless break and add extern...
[simgrid.git] / src / include / surf / random_mgr.h
index 7233e71..6ef40d9 100644 (file)
@@ -7,6 +7,8 @@
 #include <math.h>
 #include <stdio.h>
 
+SG_BEGIN_DECL()
+
 typedef enum {NONE, DRAND48, RAND} Generator;
 
 typedef struct random_data_desc {
@@ -19,4 +21,6 @@ XBT_PUBLIC_DATA(xbt_dict_t) random_data_list;
 XBT_PUBLIC(float) random_generate(random_data_t random);
 XBT_PUBLIC(random_data_t) random_new(int generator, int min, int max, int mean, int stdDeviation);
 
+SG_END_DECL()
+
 #endif                         /* _SURF_RMGR_H */