From: Frederic Suter Date: Fri, 15 Apr 2016 19:37:48 +0000 (+0200) Subject: typos and useless register X-Git-Tag: v3_13~101 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9a2b49c20a79e93616cb2a49be02cae9edf175f7 typos and useless register --- diff --git a/examples/msg/app-pingpong/app-pingpong.c b/examples/msg/app-pingpong/app-pingpong.c index 59b3b748d6..8caacc6c12 100644 --- a/examples/msg/app-pingpong/app-pingpong.c +++ b/examples/msg/app-pingpong/app-pingpong.c @@ -8,7 +8,7 @@ /** @addtogroup MSG_examples * - * - Ping-Pong: app-pingpong/app-pingpong.c . It's hard to think of a simpler example. The tesh file + * - Ping-Pong: app-pingpong/app-pingpong.c. It's hard to think of a simpler example. The tesh file * laying in the directory is instructive concerning the way to pass options to the simulators (see \ref options). */ diff --git a/examples/msg/app-token-ring/app-token-ring.c b/examples/msg/app-token-ring/app-token-ring.c index b73ad927e6..de7e7574ff 100644 --- a/examples/msg/app-token-ring/app-token-ring.c +++ b/examples/msg/app-token-ring/app-token-ring.c @@ -6,11 +6,11 @@ #include "simgrid/msg.h" -XBT_LOG_NEW_DEFAULT_CATEGORY(ring, "Messages specific for this msg example"); +XBT_LOG_NEW_DEFAULT_CATEGORY(msg_app_token_ring, "Messages specific for this msg example"); /** @addtogroup MSG_examples * - * - Token Ring: app-token-ring/app-token-ring.c: Classical token ring communication, where a token is exchanged + * - Token Ring: app-token-ring/app-token-ring.c. Classical token ring communication, where a token is exchanged * along a ring to reach every participant. The tesh file laying in the directory shows how to run the same example on * different platforms. */ @@ -55,7 +55,6 @@ int main(int argc, char *argv[]) MSG_create_environment(argv[1]); /** - Load the platform description */ xbt_dynar_t hosts = MSG_hosts_as_dynar(); msg_host_t h; - MSG_function_register("foo", foo); XBT_INFO("Number of host '%d'",MSG_get_host_number()); xbt_dynar_foreach (hosts, i, h){ /** - Give a unique rank to each host and create a @ref foo process on each */