X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..c53d0aac5a5ab41701f3320d95f1cd2b0f3fd005:/examples/gras/ping/ping_common.c diff --git a/examples/gras/ping/ping_common.c b/examples/gras/ping/ping_common.c index f03154bc68..f0b6e49edf 100644 --- a/examples/gras/ping/ping_common.c +++ b/examples/gras/ping/ping_common.c @@ -1,8 +1,7 @@ -/* $Id$ */ - /* ping - ping/pong demo of GRAS features */ -/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2006, 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. */ @@ -13,7 +12,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(Ping, "Messages specific to this example"); /* register messages which may be sent (common to client and server) */ void ping_register_messages(void) { - gras_msgtype_declare("ping", gras_datadesc_by_name("int")); - gras_msgtype_declare("pong", gras_datadesc_by_name("int")); - INFO0("Messages registered"); + gras_msgtype_declare("ping", xbt_datadesc_by_name("int")); + gras_msgtype_declare("pong", xbt_datadesc_by_name("int")); + XBT_INFO("Messages registered"); }