Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Finish the merging of Cristian branch by fixing some of the remaining glitches preven...
[simgrid.git] / examples / msg / actions / actions.c
index e76db4e..8ca04c2 100644 (file)
 #include "xbt.h"                /* calloc, printf */
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
-                             "Messages specific for this msg example");
+                 "Messages specific for this msg example");
 
 /* Helper function */
-static double parse_double(const char *string)
-{
+static double parse_double(const char *string) {
   double value;
   char *endptr;
 
-  value = strtod(string, &endptr);
+  value=strtod(string, &endptr);
   if (*endptr != '\0')
-    THROW1(unknown_error, 0, "%s is not a double", string);
+         THROW1(unknown_error, 0, "%s is not a double", string);
   return value;
 }
 
-
 /* My actions */
 static void send(xbt_dynar_t action)
 {