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
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git]
/
teshsuite
/
smpi
/
pt2pt-dsend
/
pt2pt-dsend.c
diff --git
a/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
b/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
index
84217e9
..
0a76bed
100644
(file)
--- a/
teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
+++ b/
teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
@@
-13,15
+13,13
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(dsend,"the dsend test");
static void test_opts(int* argc, char **argv[]){
int found = 0;
static void test_opts(int* argc, char **argv[]){
int found = 0;
- int ret;
int option_index = 0;
static struct option long_options[] = {
int option_index = 0;
static struct option long_options[] = {
- {"long", no_argument, 0, 0 },
+ {
(char*)
"long", no_argument, 0, 0 },
{0, 0, 0, 0 }
};
while (1) {
{0, 0, 0, 0 }
};
while (1) {
- ret = getopt_long(*argc, *argv, "s",
- long_options, &option_index);
+ int ret = getopt_long(*argc, *argv, "s", long_options, &option_index);
if(ret==-1)
break;
if(ret==-1)
break;