summaryrefslogtreecommitdiff
path: root/lib/libc/compat/gen/compat_alphasort.c
blob: 70033e5521c259c3d27c117c510258b210373613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*	$NetBSD: compat_alphasort.c,v 1.2 2016/12/16 04:45:04 mrg 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
#define ALPHASORTARG void *

#include "gen/alphasort.c"