Skip to content

Commit

Permalink
00407: pythongh-99086: Fix implicit int compiler warning in configure…
Browse files Browse the repository at this point in the history
… check for PTHREAD_SCOPE_SYSTEM

Co-authored-by: Sam James <sam@cmpct.info>
  • Loading branch information
2 people authored and hrnciar committed Mar 20, 2024
1 parent 8da99d3 commit 214b2bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix ``-Wimplicit-int`` compiler warning in :program:`configure` check for ``PTHREAD_SCOPE_SYSTEM``.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -11151,7 +11151,7 @@ else
void *foo(void *parm) {
return NULL;
}
main() {
int main() {
pthread_attr_t attr;
pthread_t id;
if (pthread_attr_init(&attr)) return (-1);
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3336,7 +3336,7 @@ if test "$posix_threads" = "yes"; then
void *foo(void *parm) {
return NULL;
}
main() {
int main() {
pthread_attr_t attr;
pthread_t id;
if (pthread_attr_init(&attr)) return (-1);
Expand Down

0 comments on commit 214b2bc

Please sign in to comment.