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
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
[simgrid.git]
/
doc
/
gtut-files
/
01-bones.c
diff --git
a/doc/gtut-files/01-bones.c
b/doc/gtut-files/01-bones.c
index
ea9a3c0
..
97fea93
100644
(file)
--- a/
doc/gtut-files/01-bones.c
+++ b/
doc/gtut-files/01-bones.c
@@
-6,20
+6,22
@@
#include <gras.h>
#include <gras.h>
-int client(int argc, char *argv[]) {
- gras_init(&argc,argv);
+int client(int argc, char *argv[])
+{
+ gras_init(&argc, argv);
/* Your own code for the client process */
/* Your own code for the client process */
-
+
gras_exit();
return 0;
}
gras_exit();
return 0;
}
-int server(int argc, char *argv[]) {
- gras_init(&argc,argv);
+int server(int argc, char *argv[])
+{
+ gras_init(&argc, argv);
/* Your own code for the server process */
/* Your own code for the server process */
-
+
gras_exit();
return 0;
}
gras_exit();
return 0;
}