Skip to content

Commit 128192c

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 d6a2101 commit 128192c

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
Original file line numberDiff line numberDiff line change
@@ -11151,7 +11151,7 @@ else
1115111151
void *foo(void *parm) {
1115211152
return NULL;
1115311153
}
11154-
main() {
11154+
int main() {
1115511155
pthread_attr_t attr;
1115611156
pthread_t id;
1115711157
if (pthread_attr_init(&attr)) return (-1);

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -3336,7 +3336,7 @@ if test "$posix_threads" = "yes"; then
33363336
void *foo(void *parm) {
33373337
return NULL;
33383338
}
3339-
main() {
3339+
int main() {
33403340
pthread_attr_t attr;
33413341
pthread_t id;
33423342
if (pthread_attr_init(&attr)) return (-1);

0 commit comments

Comments
 (0)