21 lines
477 B
C
21 lines
477 B
C
|
/* $NetBSD: compat_alphasort.c,v 1.1 2009/02/24 18:42:36 christos Exp $ */
|
||
|
|
||
|
#include <sys/stat.h>
|
||
|
#define __LIBC12_SOURCE__
|
||
|
#include "namespace.h"
|
||
|
#include <dirent.h>
|
||
|
#include <compat/include/dirent.h>
|
||
|
|
||
|
#ifdef __weak_alias
|
||
|
__weak_alias(alphasort,_alphasort)
|
||
|
#endif
|
||
|
|
||
|
#ifdef __warn_references
|
||
|
__warn_references(alphasort,
|
||
|
"warning: reference to compatibility alphasort(); include <dirent.h> for correct reference")
|
||
|
#endif
|
||
|
|
||
|
#define dirent dirent12
|
||
|
|
||
|
#include "gen/alphasort.c"
|