Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reindent everything (possibly breaking all branches, but for the last time)
[simgrid.git] / src / include / surf / random_mgr.h
index 7e0d495..a062c2b 100644 (file)
@@ -9,22 +9,21 @@
 
 SG_BEGIN_DECL()
 
-typedef enum {NONE, DRAND48, RAND} Generator;
+     typedef enum { NONE, DRAND48, RAND } Generator;
 
-typedef struct random_data_desc {
-  long int seed;
-  double max, min;
-  double mean, std; /* note: mean and standard deviation are normalized */
-  Generator generator;
-} s_random_data_t, *random_data_t;
+     typedef struct random_data_desc {
+       long int seed;
+       double max, min;
+       double mean, std;        /* note: mean and standard deviation are normalized */
+       Generator generator;
+     } s_random_data_t, *random_data_t;
 
 XBT_PUBLIC_DATA(xbt_dict_t) random_data_list;
 
 XBT_PUBLIC(double) random_generate(random_data_t random);
-XBT_PUBLIC(random_data_t) random_new(Generator generator, long int seed, 
-                                    double min, double max, double mean, 
-                                    double stdDeviation);
+XBT_PUBLIC(random_data_t) random_new(Generator generator, long int seed,
+                                     double min, double max, double mean,
+                                     double stdDeviation);
 
 SG_END_DECL()
-
-#endif                         /* _SURF_RMGR_H */
+#endif /* _SURF_RMGR_H */