aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r--sysdeps/pthread/aio_cancel.c4
-rw-r--r--sysdeps/pthread/aio_suspend.c6
-rw-r--r--sysdeps/pthread/timer_delete.c3
3 files changed, 4 insertions, 9 deletions
diff --git a/sysdeps/pthread/aio_cancel.c b/sysdeps/pthread/aio_cancel.c
index c1e12e4..0106728 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 bfca662..40726a8 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 ef0133f..49f4c5b 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;