Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sed -i -e 's/\t/ /g' *.[ch] Please people, stop using tabs in your source
[simgrid.git] / src / gras / Msg / gras_msg_mod.c
index 63d259d..04f3718 100644 (file)
@@ -1,9 +1,7 @@
-/* $Id$ */
-
 /* gras message types handling                                              */
 
-/* Copyright (c) 2003, 2004, 2005, 2006, 2007 Martin Quinson.               */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2009, 2010. 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. */
@@ -61,8 +59,8 @@ int gras_msg_libdata_id;
 void gras_msg_register()
 {
   gras_msg_libdata_id =
-    gras_procdata_add("gras_msg", gras_msg_procdata_new,
-                      gras_msg_procdata_free);
+      gras_procdata_add("gras_msg", gras_msg_procdata_new,
+                        gras_msg_procdata_free);
 }
 
 /*
@@ -74,7 +72,7 @@ void gras_msg_init(void)
   if (_gras_msgtype_set != NULL)
     return;
 
-  VERB0("Initializing Msg");
+  XBT_VERB("Initializing Msg");
 
   _gras_msgtype_set = xbt_set_new();
 
@@ -83,10 +81,10 @@ void gras_msg_init(void)
   _GRAS_header[5] = (char) GRAS_THISARCH;
 
   gras_msg_ctx_mallocator =
-    xbt_mallocator_new(1000,
-                       gras_msg_ctx_mallocator_new_f,
-                       gras_msg_ctx_mallocator_free_f,
-                       gras_msg_ctx_mallocator_reset_f);
+      xbt_mallocator_new(1000,
+                         gras_msg_ctx_mallocator_new_f,
+                         gras_msg_ctx_mallocator_free_f,
+                         gras_msg_ctx_mallocator_reset_f);
 }
 
 /*
@@ -94,7 +92,7 @@ void gras_msg_init(void)
  */
 void gras_msg_exit(void)
 {
-  VERB0("Exiting Msg");
+  XBT_VERB("Exiting Msg");
   xbt_set_free(&_gras_msgtype_set);
 
   xbt_mallocator_free(gras_msg_ctx_mallocator);