Skip to content

Commit

Permalink
Merge pull request icl-utk-edu#142 from fweimer-rh/c99
Browse files Browse the repository at this point in the history
configure: Fix return values in start thread routines
  • Loading branch information
gcongiu authored Dec 18, 2023
2 parents 89e658e + 08f0d7d commit c36490e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/configure
Original file line number Diff line number Diff line change
Expand Up @@ -5250,6 +5250,7 @@ else
res1 = (i == (int)arg);
else
res2 = (i == (int)arg);
return NULL;
}
__thread int i;
int main () {
Expand Down Expand Up @@ -5378,7 +5379,7 @@ else
exit(1);
}
done = 1;
return j;
return (void *) j;
}
int main( int argc, char ** argv ) {
Expand Down
3 changes: 2 additions & 1 deletion src/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ AC_ARG_WITH(tls,
res1 = (i == (int)arg);
else
res2 = (i == (int)arg);
return NULL;
}
__thread int i;
int main () {
Expand Down Expand Up @@ -812,7 +813,7 @@ AC_ARG_WITH(virtualtimer,
exit(1);
}
done = 1;
return j;
return (void *) j;
}

int main( int argc, char ** argv ) {
Expand Down

0 comments on commit c36490e

Please sign in to comment.