/tmp/tmp844mv242/undef.c:5:1: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations] 5 | void *__glibc_test_readdir_r = (void *) &readdir_r; | ^~~~ In file included from ../include/dirent.h:5, from /tmp/tmp844mv242/undef.c:1: ../dirent/dirent.h:185:12: note: declared here 185 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ [initial] closedir -> [libc.a(closedir.o)] free -> [libc.a(malloc.o)] stderr -> [libc.a(stdio.o)] _IO_file_open -> [libc.a(fileops.o)] memrchr