diff options
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r-- | sysdeps/pthread/aio_error.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/aio_read.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/aio_read64.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/aio_write.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/aio_write64.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/flockfile.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/ftrylockfile.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/funlockfile.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/timer_create.c | 5 | ||||
-rw-r--r-- | sysdeps/pthread/timer_getoverr.c | 3 | ||||
-rw-r--r-- | sysdeps/pthread/timer_gettime.c | 4 |
11 files changed, 11 insertions, 25 deletions
diff --git a/sysdeps/pthread/aio_error.c b/sysdeps/pthread/aio_error.c index ebe1378b2a..6925f723df 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 a54e7fee2f..a26cea9397 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 2a71c0a0c2..e0b4408fc6 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 0c69f14cc3..8bcc1467a2 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 04c0d0254e..87412b9c25 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 3894656747..ee04d39fd8 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 9ee0839882..3d6ce10039 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 d33f7b0a56..f9c7ec81c1 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 1ab53ab151..a4240dd81a 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 12433c63a8..5b540673a6 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 07f2f0cde4..db5fd9eade 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; |