Skip to content

Commit 0dff1c8

Browse files
erlend-aaslandthesamesam
authored andcommitted
00407: pythongh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM
Co-authored-by: Sam James <[email protected]>
1 parent d1fdb34 commit 0dff1c8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10942,7 +10942,7 @@ else
1094210942
void *foo(void *parm) {
1094310943
return NULL;
1094410944
}
10945-
main() {
10945+
int main() {
1094610946
pthread_attr_t attr;
1094710947
pthread_t id;
1094810948
if (pthread_attr_init(&attr)) return (-1);

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3232,7 +3232,7 @@ if test "$posix_threads" = "yes"; then
32323232
void *foo(void *parm) {
32333233
return NULL;
32343234
}
3235-
main() {
3235+
int main() {
32363236
pthread_attr_t attr;
32373237
pthread_t id;
32383238
if (pthread_attr_init(&attr)) return (-1);

0 commit comments

Comments
 (0)