summaryrefslogtreecommitdiff
path: root/src/dirent
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-09-04 22:01:36 +0200
committerRich Felker <dalias@aerifal.cx>2014-09-05 16:02:22 -0400
commit36c30c4ddd92ec3a058d54aac31a5734be6380f8 (patch)
tree1f5b56e6fa434edeffd9f98dca8115bd29fe0d5a /src/dirent
parent546f6b322bcafa2452925c19f9607d9689c75f95 (diff)
downloadmusl-36c30c4ddd92ec3a058d54aac31a5734be6380f8.tar.gz
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.
Diffstat (limited to 'src/dirent')
-rw-r--r--src/dirent/versionsort.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dirent/versionsort.c b/src/dirent/versionsort.c
index 97696105..410cb703 100644
--- a/src/dirent/versionsort.c
+++ b/src/dirent/versionsort.c
@@ -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);