Skip to content

Commit

Permalink
gh-99086: Fix implicit int compiler warning in configure check for PT…
Browse files Browse the repository at this point in the history
…HREAD_SCOPE_SYSTEM (#99085)
  • Loading branch information
thesamesam authored Nov 5, 2022
1 parent d04899a commit 12078e7
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 @@ -4361,7 +4361,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 12078e7

Please sign in to comment.