Skip to content

Commit 573b451

Browse files
[3.11] gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (GH-99085) (#99118)
(cherry picked from commit 12078e7) Co-authored-by: Sam James <[email protected]>
1 parent a9a8c87 commit 573b451

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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -4172,7 +4172,7 @@ if test "$posix_threads" = "yes"; then
41724172
void *foo(void *parm) {
41734173
return NULL;
41744174
}
4175-
main() {
4175+
int main() {
41764176
pthread_attr_t attr;
41774177
pthread_t id;
41784178
if (pthread_attr_init(&attr)) return (-1);

0 commit comments

Comments
 (0)