Last change
on this file since 389 was 389, checked in by coas-nagasima, 5 years ago |
ビルドが通るよう更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
239 bytes
|
Rev | Line | |
---|
[388] | 1 | #define _GNU_SOURCE
|
---|
| 2 | #include <string.h>
|
---|
| 3 | #include <dirent.h>
|
---|
| 4 | #include "libc.h"
|
---|
| 5 |
|
---|
| 6 | int versionsort(const struct dirent **a, const struct dirent **b)
|
---|
| 7 | {
|
---|
| 8 | return strverscmp((*a)->d_name, (*b)->d_name);
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | #undef versionsort64
|
---|
| 12 | LFS64(versionsort);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.