mirror of https://github.com/python/cpython
gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (#99085)
This commit is contained in:
parent
d04899abb0
commit
12078e78f6
|
@ -0,0 +1 @@
|
|||
Fix ``-Wimplicit-int`` compiler warning in :program:`configure` check for ``PTHREAD_SCOPE_SYSTEM``.
|
|
@ -15350,7 +15350,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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue