A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reindent everything (possibly breaking all branches, but for the last time)
[simgrid.git]
/
examples
/
gras
/
spawn
/
spawn_common.c
diff --git
a/examples/gras/spawn/spawn_common.c
b/examples/gras/spawn/spawn_common.c
index
26d2cba
..
ac272a0
100644
(file)
--- a/
examples/gras/spawn/spawn_common.c
+++ b/
examples/gras/spawn/spawn_common.c
@@
-8,11
+8,11
@@
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "spawn.h"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "spawn.h"
-XBT_LOG_NEW_DEFAULT_CATEGORY(Spawn,"Messages specific to this example");
+XBT_LOG_NEW_DEFAULT_CATEGORY(Spawn,
"Messages specific to this example");
/* register messages which may be sent (common to client and server) */
/* register messages which may be sent (common to client and server) */
-void spawn_register_messages(void) {
+void spawn_register_messages(void)
+{
gras_msgtype_declare("ping", gras_datadesc_by_name("int"));
gras_msgtype_declare("pong", gras_datadesc_by_name("int"));
}
gras_msgtype_declare("ping", gras_datadesc_by_name("int"));
gras_msgtype_declare("pong", gras_datadesc_by_name("int"));
}
-