X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c91b68ade95e42efb7a24f19fb5228bee0b618d0..187ba0c05f9fbe51175179b9f637b6554f947468:/examples/gras/console/ping_common.c diff --git a/examples/gras/console/ping_common.c b/examples/gras/console/ping_common.c deleted file mode 100644 index f0b6e49edf..0000000000 --- a/examples/gras/console/ping_common.c +++ /dev/null @@ -1,18 +0,0 @@ -/* ping - ping/pong demo of GRAS features */ - -/* 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. */ - -#include "ping.h" -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", xbt_datadesc_by_name("int")); - gras_msgtype_declare("pong", xbt_datadesc_by_name("int")); - XBT_INFO("Messages registered"); -}