use a more-correct integer type, and silence 64-bit warnings as a bonus
[musl] / src / dirent / dirfd.c
1 #include <dirent.h>
2 #include "__dirent.h"
3
4 int dirfd(DIR *d)
5 {
6         return d->fd;
7 }