Skip to content

Commit

Permalink
[3.11] gh-99086: Fix implicit int compiler warning in configure check…
Browse files Browse the repository at this point in the history
… for PTHREAD_SCOPE_SYSTEM (GH-99085) (#99118)

(cherry picked from commit 12078e7)

Co-authored-by: Sam James <sam@cmpct.info>
  • Loading branch information
erlend-aasland and thesamesam authored Nov 5, 2022
1 parent a9a8c87 commit 573b451
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4172,7 +4172,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 573b451

Please sign in to comment.