X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/78c37d1780d1243aec405e7f38751e0aa5037c38..7d8d2388509cb9a579d70b91b9a512e882132558:/doc/gtut-files/05-globals.c diff --git a/doc/gtut-files/05-globals.c b/doc/gtut-files/05-globals.c index 6b9d974125..a21233d432 100644 --- a/doc/gtut-files/05-globals.c +++ b/doc/gtut-files/05-globals.c @@ -1,3 +1,10 @@ +/* Copyright (c) 2006, 2007, 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 #include typedef struct { @@ -32,7 +39,7 @@ int server(int argc, char *argv[]) { gras_init(&argc,argv); - globals=gras_userdata_new(server_data_t*); + globals=gras_userdata_new(server_data_t); globals->killed=0; gras_msgtype_declare("hello", NULL);