Skip to content

Commit 1e3faae

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 <sam@cmpct.info>
1 parent 180a5d1 commit 1e3faae

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
@@ -10837,7 +10837,7 @@ else
1083710837
void *foo(void *parm) {
1083810838
return NULL;
1083910839
}
10840-
main() {
10840+
int main() {
1084110841
pthread_attr_t attr;
1084210842
pthread_t id;
1084310843
if (pthread_attr_init(&attr)) exit(-1);

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3185,7 +3185,7 @@ if test "$posix_threads" = "yes"; then
31853185
void *foo(void *parm) {
31863186
return NULL;
31873187
}
3188-
main() {
3188+
int main() {
31893189
pthread_attr_t attr;
31903190
pthread_t id;
31913191
if (pthread_attr_init(&attr)) exit(-1);

0 commit comments

Comments
 (0)