mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
rt: Rework lio_listio implementation
Move the common code into rt/lio_listio-common.c and include the file in both rt/lio_listio.c and rt/lio_listio64.c. The common code automatically defines both public symbols for __WORDSIZE == 64. Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
#define lio_listio64 __renamed_lio_listio64
|
||||
|
||||
#include <rt/lio_listio.c>
|
||||
|
||||
#undef lio_listio64
|
||||
|
||||
#if SHLIB_COMPAT (librt, GLIBC_2_1, GLIBC_2_4)
|
||||
strong_alias (__lio_listio_21, __lio_listio64_21)
|
||||
compat_symbol (librt, __lio_listio64_21, lio_listio64, GLIBC_2_1);
|
||||
#endif
|
||||
|
||||
strong_alias (__lio_listio_item_notify, __lio_listio64_item_notify)
|
||||
versioned_symbol (librt, __lio_listio64_item_notify, lio_listio64, GLIBC_2_4);
|
@ -1 +0,0 @@
|
||||
/* Defined in lio_listio.c. */
|
Reference in New Issue
Block a user