aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r--sysdeps/pthread/aio_error.c3
-rw-r--r--sysdeps/pthread/aio_read.c3
-rw-r--r--sysdeps/pthread/aio_read64.c3
-rw-r--r--sysdeps/pthread/aio_write.c3
-rw-r--r--sysdeps/pthread/aio_write64.c3
-rw-r--r--sysdeps/pthread/flockfile.c3
-rw-r--r--sysdeps/pthread/ftrylockfile.c3
-rw-r--r--sysdeps/pthread/funlockfile.c3
-rw-r--r--sysdeps/pthread/timer_create.c5
-rw-r--r--sysdeps/pthread/timer_getoverr.c3
-rw-r--r--sysdeps/pthread/timer_gettime.c4
11 files changed, 11 insertions, 25 deletions
diff --git a/sysdeps/pthread/aio_error.c b/sysdeps/pthread/aio_error.c
index ebe1378..6925f72 100644
--- a/sysdeps/pthread/aio_error.c
+++ b/sysdeps/pthread/aio_error.c
@@ -32,8 +32,7 @@
int
-aio_error (aiocbp)
- const struct aiocb *aiocbp;
+aio_error (const struct aiocb *aiocbp)
{
int ret;
diff --git a/sysdeps/pthread/aio_read.c b/sysdeps/pthread/aio_read.c
index a54e7fe..a26cea9 100644
--- a/sysdeps/pthread/aio_read.c
+++ b/sysdeps/pthread/aio_read.c
@@ -23,8 +23,7 @@
int
-aio_read (aiocbp)
- struct aiocb *aiocbp;
+aio_read (struct aiocb *aiocbp)
{
return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ) == NULL
? -1 : 0);
diff --git a/sysdeps/pthread/aio_read64.c b/sysdeps/pthread/aio_read64.c
index 2a71c0a..e0b4408 100644
--- a/sysdeps/pthread/aio_read64.c
+++ b/sysdeps/pthread/aio_read64.c
@@ -23,8 +23,7 @@
int
-aio_read64 (aiocbp)
- struct aiocb64 *aiocbp;
+aio_read64 (struct aiocb64 *aiocbp)
{
return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ64) == NULL
? -1 : 0);
diff --git a/sysdeps/pthread/aio_write.c b/sysdeps/pthread/aio_write.c
index 0c69f14..8bcc146 100644
--- a/sysdeps/pthread/aio_write.c
+++ b/sysdeps/pthread/aio_write.c
@@ -23,8 +23,7 @@
int
-aio_write (aiocbp)
- struct aiocb *aiocbp;
+aio_write (struct aiocb *aiocbp)
{
return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_WRITE) == NULL
? -1 : 0);
diff --git a/sysdeps/pthread/aio_write64.c b/sysdeps/pthread/aio_write64.c
index 04c0d02..87412b9 100644
--- a/sysdeps/pthread/aio_write64.c
+++ b/sysdeps/pthread/aio_write64.c
@@ -23,8 +23,7 @@
int
-aio_write64 (aiocbp)
- struct aiocb64 *aiocbp;
+aio_write64 (struct aiocb64 *aiocbp)
{
return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_WRITE64) == NULL
? -1 : 0);
diff --git a/sysdeps/pthread/flockfile.c b/sysdeps/pthread/flockfile.c
index 3894656..ee04d39 100644
--- a/sysdeps/pthread/flockfile.c
+++ b/sysdeps/pthread/flockfile.c
@@ -23,8 +23,7 @@
void
-__flockfile (stream)
- FILE *stream;
+__flockfile (FILE *stream)
{
_IO_lock_lock (*stream->_lock);
}
diff --git a/sysdeps/pthread/ftrylockfile.c b/sysdeps/pthread/ftrylockfile.c
index 9ee0839..3d6ce10 100644
--- a/sysdeps/pthread/ftrylockfile.c
+++ b/sysdeps/pthread/ftrylockfile.c
@@ -23,8 +23,7 @@
int
-__ftrylockfile (stream)
- FILE *stream;
+__ftrylockfile (FILE *stream)
{
return _IO_lock_trylock (*stream->_lock);
}
diff --git a/sysdeps/pthread/funlockfile.c b/sysdeps/pthread/funlockfile.c
index d33f7b0..f9c7ec8 100644
--- a/sysdeps/pthread/funlockfile.c
+++ b/sysdeps/pthread/funlockfile.c
@@ -23,8 +23,7 @@
void
-__funlockfile (stream)
- FILE *stream;
+__funlockfile (FILE *stream)
{
_IO_lock_unlock (*stream->_lock);
}
diff --git a/sysdeps/pthread/timer_create.c b/sysdeps/pthread/timer_create.c
index 1ab53ab..a4240dd 100644
--- a/sysdeps/pthread/timer_create.c
+++ b/sysdeps/pthread/timer_create.c
@@ -27,10 +27,7 @@
/* Create new per-process timer using CLOCK. */
int
-timer_create (clock_id, evp, timerid)
- clockid_t clock_id;
- struct sigevent *evp;
- timer_t *timerid;
+timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
{
int retval = -1;
struct timer_node *newtimer = NULL;
diff --git a/sysdeps/pthread/timer_getoverr.c b/sysdeps/pthread/timer_getoverr.c
index 12433c6..5b54067 100644
--- a/sysdeps/pthread/timer_getoverr.c
+++ b/sysdeps/pthread/timer_getoverr.c
@@ -25,8 +25,7 @@
/* Get expiration overrun for timer TIMERID. */
int
-timer_getoverrun (timerid)
- timer_t timerid;
+timer_getoverrun (timer_t timerid)
{
struct timer_node *timer;
int retval = -1;
diff --git a/sysdeps/pthread/timer_gettime.c b/sysdeps/pthread/timer_gettime.c
index 07f2f0c..db5fd9e 100644
--- a/sysdeps/pthread/timer_gettime.c
+++ b/sysdeps/pthread/timer_gettime.c
@@ -25,9 +25,7 @@
/* Get current value of timer TIMERID and store it in VLAUE. */
int
-timer_gettime (timerid, value)
- timer_t timerid;
- struct itimerspec *value;
+timer_gettime (timer_t timerid, struct itimerspec *value)
{
struct timer_node *timer;
struct timespec now, expiry;