]> git.ipfire.org Git - thirdparty/glibc.git/blame - rtkaio/sysdeps/unix/sysv/linux/alpha/kaio_cancel.c
2.5-18.1
[thirdparty/glibc.git] / rtkaio / sysdeps / unix / sysv / linux / alpha / kaio_cancel.c
CommitLineData
5fe14d96
UD
1#include <shlib-compat.h>
2
3#define aio_cancel64 XXX
4#include <aio.h>
5#undef aio_cancel64
6#include <errno.h>
7
8extern __typeof (aio_cancel) __new_aio_cancel;
9extern __typeof (aio_cancel) __old_aio_cancel;
10
11#define aio_cancel __new_aio_cancel
12
0ecb606c 13#include <sysdeps/unix/sysv/linux/kaio_cancel.c>
5fe14d96
UD
14
15#undef aio_cancel
16strong_alias (__new_aio_cancel, __new_aio_cancel64);
17versioned_symbol (librt, __new_aio_cancel, aio_cancel, GLIBC_2_3);
18versioned_symbol (librt, __new_aio_cancel64, aio_cancel64, GLIBC_2_3);
19
20#if SHLIB_COMPAT (librt, GLIBC_2_1, GLIBC_2_3)
21
22#undef ECANCELED
23#define aio_cancel __old_aio_cancel
24#define ECANCELED 125
25
0ecb606c 26#include <sysdeps/unix/sysv/linux/kaio_cancel.c>
5fe14d96
UD
27
28#undef aio_cancel
29strong_alias (__old_aio_cancel, __old_aio_cancel64);
30compat_symbol (librt, __old_aio_cancel, aio_cancel, GLIBC_2_1);
31compat_symbol (librt, __old_aio_cancel64, aio_cancel64, GLIBC_2_1);
32
33#endif