mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
[3.11] gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (GH-99085) (#99118)
(cherry picked from commit 12078e78f6
)
Co-authored-by: Sam James <sam@cmpct.info>
This commit is contained in:
parent
a9a8c87126
commit
573b451886
3 changed files with 3 additions and 2 deletions
|
@ -0,0 +1 @@
|
|||
Fix ``-Wimplicit-int`` compiler warning in :program:`configure` check for ``PTHREAD_SCOPE_SYSTEM``.
|
2
configure
generated
vendored
2
configure
generated
vendored
|
@ -14454,7 +14454,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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue