add missing legacy LFS *64 symbol aliases

versionsort64, aio*64 and lio*64 symbols were missing, they are
only needed for glibc ABI compatibility, on the source level
dirent.h and aio.h already redirect them.
This commit is contained in:
Szabolcs Nagy 2014-09-04 22:01:36 +02:00 • committed by Rich Felker
commit 36c30c4ddd
8 changed files with 23 additions and 0 deletions

View file

@ -1,8 +1,12 @@
#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);