[libc++][NFC] Move some functions from directory_iterator.cpp to filesystem_common.h
This move is going to be needed in order to reuse `posix_readdir` in another translation unit. This doesn't change any of the code except for removing an unused function parameter that otherwise triggers a warning inside our tests. Differential Revision: https://reviews.llvm.org/D118254
Loading
Please sign in to comment