Sync usage with man page.
[netbsd-mini2440.git] / lib / libc / compat / gen / compat_alphasort.c
blobd9cad2f9ed1a64a457e29d1538e7ba7617f1f2dc
1 /* $NetBSD: compat_alphasort.c,v 1.1 2005/09/13 01:44:09 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(alphasort,_alphasort)
11 #endif
13 #ifdef __warn_references
14 __warn_references(alphasort,
15 "warning: reference to compatibility alphasort(); include <dirent.h> for correct reference")
16 #endif
18 #define dirent dirent12
20 #include "gen/alphasort.c"