X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..272ccad1b68b6d9c17069f3c934886925bb15b5d:/src/gras/Msg/gras_msg_mod.c diff --git a/src/gras/Msg/gras_msg_mod.c b/src/gras/Msg/gras_msg_mod.c index 63d259d7fd..04f37181df 100644 --- a/src/gras/Msg/gras_msg_mod.c +++ b/src/gras/Msg/gras_msg_mod.c @@ -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);