mirror of https://git.musl-libc.org/git/musl
Browse Source
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.master
committed by
Rich Felker
8 changed files with 23 additions and 0 deletions
@ -1,6 +1,9 @@ |
|||||
#include <aio.h> |
#include <aio.h> |
||||
|
#include "libc.h" |
||||
|
|
||||
int aio_error(const struct aiocb *cb) |
int aio_error(const struct aiocb *cb) |
||||
{ |
{ |
||||
return cb->__err; |
return cb->__err; |
||||
} |
} |
||||
|
|
||||
|
LFS64(aio_error); |
||||
|
|||||
@ -1,6 +1,9 @@ |
|||||
#include <aio.h> |
#include <aio.h> |
||||
|
#include "libc.h" |
||||
|
|
||||
ssize_t aio_return(struct aiocb *cb) |
ssize_t aio_return(struct aiocb *cb) |
||||
{ |
{ |
||||
return cb->__ret; |
return cb->__ret; |
||||
} |
} |
||||
|
|
||||
|
LFS64(aio_return); |
||||
|
|||||
@ -1,8 +1,12 @@ |
|||||
#define _GNU_SOURCE |
#define _GNU_SOURCE |
||||
#include <string.h> |
#include <string.h> |
||||
#include <dirent.h> |
#include <dirent.h> |
||||
|
#include "libc.h" |
||||
|
|
||||
int versionsort(const struct dirent **a, const struct dirent **b) |
int versionsort(const struct dirent **a, const struct dirent **b) |
||||
{ |
{ |
||||
return strverscmp((*a)->d_name, (*b)->d_name); |
return strverscmp((*a)->d_name, (*b)->d_name); |
||||
} |
} |
||||
|
|
||||
|
#undef versionsort64 |
||||
|
LFS64(versionsort); |
||||
|
|||||
Loading…
Reference in new issue