Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / compat / gen / compat_scandir.c
blob10e57ef44b041bbe7f94223565f9d36991777a86
1 /* $NetBSD: scandir.c,v 1.24 2005/08/19 02:04:54 christos Exp $ */
3 #include <sys/stat.h>
4 #define __LIBC12_SOURCE__
5 #include "namespace.h"
6 #include <dirent.h>
7 #include <compat/include/dirent.h>
9 #ifdef __weak_alias
10 __weak_alias(scandir,_scandir)
11 #endif
13 #ifdef __warn_references
14 __warn_references(scandir,
15 "warning: reference to compatibility scandir(); include <dirent.h> for correct reference")
16 #endif
18 #define dirent dirent12
20 #include "gen/scandir.c"