/tmp/tmppeyfx0u4/undef.c:8:1: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations] 8 | void *__glibc_test_readdir_r = (void *) &readdir_r; | ^~~~ In file included from ../include/dirent.h:5, from /tmp/tmppeyfx0u4/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