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
[TESTS] Included tags in tests and traces
[simgrid.git]
/
examples
/
msg
/
app-masterworker
/
app-masterworker.c
diff --git
a/examples/msg/app-masterworker/app-masterworker.c
b/examples/msg/app-masterworker/app-masterworker.c
index
84a85a2
..
55aaf69
100644
(file)
--- a/
examples/msg/app-masterworker/app-masterworker.c
+++ b/
examples/msg/app-masterworker/app-masterworker.c
@@
-1,12
+1,13
@@
-/* Copyright (c) 2010-201
6
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-201
8
. 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 "simgrid/msg.h"
/* 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 "simgrid/msg.h"
-XBT_LOG_NEW_DEFAULT_CATEGORY(msg_app_masterworker, "Messages specific for this msg example");
+#include <stdio.h> /* snprintf */
+XBT_LOG_NEW_DEFAULT_CATEGORY(msg_app_masterworker, "Messages specific for this msg example");
/* Main function of the master process */
static int master(int argc, char *argv[])
/* Main function of the master process */
static int master(int argc, char *argv[])