Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / compat / gen / compat__readdir_unlocked30.c
blob483a5391104845bdef3d068bbda339a8ced92bd6
1 /* $NetBSD: compat_readdir.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */
3 #define __LIBC12_SOURCE__
4 #include "namespace.h"
5 #include <dirent.h>
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")
11 #endif
13 /**
14 * Compat version of _readdir_unlocked which always skips directories
16 struct dirent *
17 ___readdir_unlocked30(DIR *dirp)
19 return ___readdir_unlocked50(dirp, 1);