1 /* $NetBSD: compat__readdir_unlocked30.c,v 1.1 2008/05/04 18:53:26 tonnerre Exp $ */
3 #define __LIBC12_SOURCE__
6 #include <compat/include/dirent.h>
8 #ifdef __warn_references
9 __warn_references(___readdir_unlocked30
,
10 "warning: reference to compatibility _readdir_unlocked(); include <dirent.h> for correct reference")
14 * Compat version of _readdir_unlocked which always skips directories
17 ___readdir_unlocked30(DIR *dirp
)
19 return ___readdir_unlocked50(dirp
, 1);