diff options
Diffstat (limited to 'rt')
-rw-r--r-- | rt/aio_error.c | 3 | ||||
-rw-r--r-- | rt/aio_return.c | 3 | ||||
-rw-r--r-- | rt/aio_sigqueue.c | 5 |
3 files changed, 3 insertions, 8 deletions
diff --git a/rt/aio_error.c b/rt/aio_error.c index c546cab..da2caee 100644 --- a/rt/aio_error.c +++ b/rt/aio_error.c @@ -30,8 +30,7 @@ int -aio_error (aiocbp) - const struct aiocb *aiocbp; +aio_error (const struct aiocb *aiocbp) { return aiocbp->__error_code; } diff --git a/rt/aio_return.c b/rt/aio_return.c index 61fee9f..89b1916 100644 --- a/rt/aio_return.c +++ b/rt/aio_return.c @@ -30,8 +30,7 @@ ssize_t -aio_return (aiocbp) - struct aiocb *aiocbp; +aio_return (struct aiocb *aiocbp) { return aiocbp->__return_value; } diff --git a/rt/aio_sigqueue.c b/rt/aio_sigqueue.c index 5481be0..3721886 100644 --- a/rt/aio_sigqueue.c +++ b/rt/aio_sigqueue.c @@ -22,10 +22,7 @@ #include <aio_misc.h> int -__aio_sigqueue (sig, val, caller_pid) - int sig; - const union sigval val; - pid_t caller_pid; +__aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) { __set_errno (ENOSYS); return -1; |