diff options
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r-- | sysdeps/pthread/aio_cancel.c | 4 | ||||
-rw-r--r-- | sysdeps/pthread/aio_suspend.c | 6 | ||||
-rw-r--r-- | sysdeps/pthread/timer_delete.c | 3 |
3 files changed, 4 insertions, 9 deletions
diff --git a/sysdeps/pthread/aio_cancel.c b/sysdeps/pthread/aio_cancel.c index c1e12e4d0f..0106728cd6 100644 --- a/sysdeps/pthread/aio_cancel.c +++ b/sysdeps/pthread/aio_cancel.c @@ -38,9 +38,7 @@ int -aio_cancel (fildes, aiocbp) - int fildes; - struct aiocb *aiocbp; +aio_cancel (int fildes, struct aiocb *aiocbp) { struct requestlist *req = NULL; int result = AIO_ALLDONE; diff --git a/sysdeps/pthread/aio_suspend.c b/sysdeps/pthread/aio_suspend.c index bfca6627f1..40726a8341 100644 --- a/sysdeps/pthread/aio_suspend.c +++ b/sysdeps/pthread/aio_suspend.c @@ -105,10 +105,8 @@ do_aio_misc_wait (unsigned int *cntr, const struct timespec *timeout) #endif int -aio_suspend (list, nent, timeout) - const struct aiocb *const list[]; - int nent; - const struct timespec *timeout; +aio_suspend (const struct aiocb *const list[], int nent, + const struct timespec *timeout) { if (__glibc_unlikely (nent < 0)) { diff --git a/sysdeps/pthread/timer_delete.c b/sysdeps/pthread/timer_delete.c index ef0133f4ec..49f4c5bc70 100644 --- a/sysdeps/pthread/timer_delete.c +++ b/sysdeps/pthread/timer_delete.c @@ -26,8 +26,7 @@ /* Delete timer TIMERID. */ int -timer_delete (timerid) - timer_t timerid; +timer_delete (timer_t timerid) { struct timer_node *timer; int retval = -1; |