gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (#99085)

This commit is contained in:
Sam James 2022-11-05 08:30:31 +00:00 committed by GitHub
parent d04899abb0
commit 12078e78f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -4361,7 +4361,7 @@ if test "$posix_threads" = "yes"; then
void *foo(void *parm) {
return NULL;
}
main() {
int main() {
pthread_attr_t attr;
pthread_t id;
if (pthread_attr_init(&attr)) return (-1);