aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/linux/aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/aio.c')
-rw-r--r--newlib/libc/sys/linux/aio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/aio.c b/newlib/libc/sys/linux/aio.c
index 04e3d70..de988eb 100644
--- a/newlib/libc/sys/linux/aio.c
+++ b/newlib/libc/sys/linux/aio.c
@@ -66,8 +66,10 @@ lio_listio (int mode, struct aiocb * const list[], int nent,
return -1;
}
+#if !defined(_ELIX_LEVEL) || _ELIX_LEVEL >= 4
void
aio_init (const struct aioinit *INIT)
{
errno = ENOSYS;
}
+#endif