Skip to content

Commit 12078e7

Browse files
authored
gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (#99085)
1 parent d04899a commit 12078e7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix ``-Wimplicit-int`` compiler warning in :program:`configure` check for ``PTHREAD_SCOPE_SYSTEM``.

configure

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -4361,7 +4361,7 @@ if test "$posix_threads" = "yes"; then
43614361
void *foo(void *parm) {
43624362
return NULL;
43634363
}
4364-
main() {
4364+
int main() {
43654365
pthread_attr_t attr;
43664366
pthread_t id;
43674367
if (pthread_attr_init(&attr)) return (-1);

0 commit comments

Comments
 (0)