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
don't use deprecated functions, and don't hide the corresponding warnings
[simgrid.git]
/
examples
/
msg
/
task-priority
/
task-priority.c
diff --git
a/examples/msg/task-priority/task-priority.c
b/examples/msg/task-priority/task-priority.c
index
37f477b
..
d852f52
100644
(file)
--- a/
examples/msg/task-priority/task-priority.c
+++ b/
examples/msg/task-priority/task-priority.c
@@
-1,5
+1,4
@@
-/* Copyright (c) 2007-2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2007-2016. 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. */
/* 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. */
@@
-7,12
+6,6
@@
#include "simgrid/msg.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
#include "simgrid/msg.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
-/** @addtogroup MSG_examples
- *
- * - <b>priority/priority.c</b>: Demonstrates the use of @ref
- * MSG_task_set_priority to change the computation priority of a given task.
- */
-
static int test(int argc, char *argv[])
{
double computation_amount = xbt_str_parse_double(argv[1], "Invalid argument: %s");
static int test(int argc, char *argv[])
{
double computation_amount = xbt_str_parse_double(argv[1], "Invalid argument: %s");