Skip to content

Commit d74374a

Browse files
committed
configure.ac: Fix -Wimplicit-int in PTHREAD_SCOPE_SYSTEM check
Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <[email protected]>
1 parent 871eb42 commit d74374a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3308,7 +3308,7 @@ if test "$posix_threads" = "yes"; then
33083308
void *foo(void *parm) {
33093309
return NULL;
33103310
}
3311-
main() {
3311+
int main() {
33123312
pthread_attr_t attr;
33133313
pthread_t id;
33143314
if (pthread_attr_init(&attr)) return (-1);

0 commit comments

Comments
 (0)