X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/58bce89d599a5bee49318c168f54fb407fbf5d24..3eef4e948ebd9b1d8c9d26a6dedd535109856554:/doc/gtut-files/01-bones.c diff --git a/doc/gtut-files/01-bones.c b/doc/gtut-files/01-bones.c index 85ff3e2695..97fea9378b 100644 --- a/doc/gtut-files/01-bones.c +++ b/doc/gtut-files/01-bones.c @@ -1,19 +1,27 @@ +/* Copyright (c) 2006, 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 -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 */ - + 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 */ - + gras_exit(); return 0; }