Skip to content

Commit 0d5b25b

Browse files
[3.10] gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (GH-99085) (#99119)
(cherry picked from commit 12078e7) Co-authored-by: Sam James <sam@cmpct.info> Co-authored-by: Sam James <sam@cmpct.info>
1 parent 8eb4e2c commit 0d5b25b

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
@@ -11325,7 +11325,7 @@ else
1132511325
void *foo(void *parm) {
1132611326
return NULL;
1132711327
}
11328-
main() {
11328+
int main() {
1132911329
pthread_attr_t attr;
1133011330
pthread_t id;
1133111331
if (pthread_attr_init(&attr)) return (-1);

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -3344,7 +3344,7 @@ if test "$posix_threads" = "yes"; then
33443344
void *foo(void *parm) {
33453345
return NULL;
33463346
}
3347-
main() {
3347+
int main() {
33483348
pthread_attr_t attr;
33493349
pthread_t id;
33503350
if (pthread_attr_init(&attr)) return (-1);

0 commit comments

Comments
 (0)