Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
aee9b1526247f74e9b755b50e102b3b4ce2aac1d
/
.
/
src
/
dirent
/
versionsort.c
blob: 410cb703456f30413db70c32ec1877b90f6e23c3 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<string.h>
#include
<dirent.h>
#include
"libc.h"
int
versionsort
(
const
struct
dirent
**
a
,
const
struct
dirent
**
b
)
{
return
strverscmp
((*
a
)->
d_name
,
(*
b
)->
d_name
);
}
#undef
versionsort64
LFS64
(
versionsort
);